July 13, 2023

Add today’s date automatically when converting a Markdown file to pdf with Pandoc

To automatically add today’s date when converting a Markdown file to a pdf with Pandoc add the metadata \today in the Markdown file, where you want today’s date to show. Then run a conversion as usual, for example: $ pandoc -o output.pdf input.md. Today’s date should show.


command-line interface (cli) personal computing pandoc trisquel GNU linux text processing office applications markdown wiki

No affiliate links, no analytics, no tracking, no cookies. © 2016-2023 yctct.com. Content is licensed under CC BY-NC-SA 4.0 .