July 13, 2023

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

Write \today in your Markdown file wherever you want the date to show up. Then run a conversion as usual, for example: $ pandoc -o output.pdf input.md. You should see today’s date on the pdf produced.


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. This work © 2016-2024 by yctct is licensed under CC BY-ND 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88