Skip to content

Template cannot be set using a Bash process substitution #5270

Closed
@sersorrel

Description

@sersorrel

Pandoc appears to silently append an extension to the template name if it feels like it, which means that you can't use a file which doesn't have the "correct" extension as a template:

$ pandoc /dev/null -o /dev/null --template <(echo)
pandoc: /dev/fd/63.markdown: openBinaryFile: does not exist (No such file or directory)

Pandoc version: 2.3.1, reproduced on 2.6 (though then the extension added is html, not markdown)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions