How can I suppress the date when using pandoc to convert md to pdf? -
I would like to create a simple PDF file with a title and a markdown file with the author but no date. I can not figure out how to suppress the date without editing an intermediate tech file.
--- Title: Test Dock Author: My Name --- # Some Titles Here Text Here
The date always appears in the PDF when you try the command pandoc test.md -o test.pdf
order. I have tried setting the date:
yaml block for all types of spaces, spaces and other combinations, but it does not understand the way it is empty
Uses Pandok. To create a PDF, by default it uses the Latex template, which you can print with pandoc -D latex
. In the old pandok version, this template contains:
$ if (date) $ \ date {$ date $} $ endif $
Issue Because for some reason, if you leave the \ date {}
command, then latex prints the date. Either upgrade your pandok version or your template manually only
\ date {$ date $}
or instead of context instead of Context Modify to use:
PANDOK-S-T context context. MD-O Test. Tech & amp; Reference test.tex
Comments
Post a Comment