I want to write a markdown file containing multiple authors, then convert it into a LaTeX and Doc file using Pandoc.
Based on the answers to these questions, I tried to write:
% Author <br/> Another Author
Pandoc can convert that into two lines in HTML files, but only one line (one author) in LaTeX and Doc files.
An extensions can be enabled by adding +EXTENSION to the format name and disabled by adding -EXTENSION . For example, markdown_strict+footnotes is strict Markdown with footnotes enabled, while markdown-footnotes-pipe_tables is pandoc's Markdown without footnotes or pipe tables.
Generating PDF from Markdown with Pandoc There are actually two steps involved in converting a Markdown file to a PDF file: The Markdown source file is converted to a LaTeX source file. Pandoc invokes the pdflatex or xelatex or other TeX command and converts the . tex source file to a PDF file.
After downloading a website as HTML with cURL or any other workflow, you can convert the HTML code to the Markdown syntax with pandoc .
You can supply pandoc with multiple author names using a YAML front matter section in your markdown.
For example:
---
author:
- "Alice Ceila"
- "Edy Jo"
---
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With