Once we have a document written in Markdown, we want to translate it into other file formats using Pandoc. First, though, we have to download Pandoc. Go to Pandoc’s installation guide at http://pandoc.org/installing.html and follow the instructions relevant for your platform.
© Thomas Mailund 2019T. MailundIntroducing Markdown and Pandochttps://doi.org/10.1007/978-1-4842-5149-2_5
5. Translating Documents
Aarhus N, Denmark
For our first example , we can take the small Markdown document shown here:
# This is a test document
Here is some text in the document.
* This is a list
* With two items
If we save this Markdown document in a file called input.md, we can translate it into an HTML file, ...