Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Write Multiple Authors in Markdown (Pandoc)

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.

like image 638
Edy Jo Avatar asked Dec 19 '13 21:12

Edy Jo


People also ask

How do you use extensions in pandoc?

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.

How do I use pandoc Markdown PDF?

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.

Can pandoc convert HTML to Markdown?

After downloading a website as HTML with cURL or any other workflow, you can convert the HTML code to the Markdown syntax with pandoc .


1 Answers

You can supply pandoc with multiple author names using a YAML front matter section in your markdown.

For example:

---
author:
- "Alice Ceila"
- "Edy Jo" 
---
like image 199
mttr Avatar answered Sep 21 '22 06:09

mttr