THIS FORUM IS DEPRECATED

It will be disabled at any point in the future. Please post your discussions to any of these alternative available channels:

* GitHub Discussions: https://github.com/Zettlr/Zettlr/discussions
* Zettlr Subreddit: https://www.reddit.com/r/Zettlr
* Discord: https://discord.gg/PcfS3DM9Xj

Export does not ignore YAML fields with trailing underscore

According to pandoc documentation, pandoc conversion should ignore YAML header fields when the last character of a field name is an underscore.

Metadata Blocks
... Metadata will be taken from the fields of the YAML object and added to any existing document metadata... Fields with names ending in an underscore will be ignored by pandoc. (They may be given a role by external processors.) ...

https://pandoc.org/MANUAL.html

However, export from Zettlr with the fields ending in underscore simply reproduces the fields with trailing underscore.

Comments

Sign In or Register to comment.