What is Pandoc

Pandoc is a free-software document converter, widely used as a writing tool (especially by scholars) and as a basis for publishing workflows. It was created by John MacFarlane, a philosophy professor at the University of California, Berkeley. Pandoc dubs itself a “markup format” converter. It can take a document in one of the supported formats and convert only its markup to another format. Maintaining the look and feel of the document is not a priority.

Wikipedia page for Pandoc

Useful pandoc commands

pandoc --pdf-engine=xelatex -V "mainfont:Inter" -V "monofont:IBM Plex Mono" README.md -o README.pdf
pandoc A10\ -\ Sucre\ Noir.md -o A10.pdf --pdf-engine=xelatex -V "mainfont:Inter" -V "monofont:Fragment Mono" -V linestretch=1.15 -V header-includes="\usepackage{ragged2e}\RaggedRight\tolerance=1000\emergencystretch=0em\hyphenpenalty=10000\exhyphenpenalty=10000"
pandoc A11\ -\ Enquête\ sur\ la\ faculté\ d\'entendement.md -o A11.pdf --pdf-engine=xelatex

Pandoc Plugin for Obsidian

About the installation and the dependencies of the plugin, see here.

A common issue is that the settings page will display the red error message Pandoc is not installed or accessible on your PATH. This plugin's functionality will be limited. If you encounter this issue:

  1. Open the plugin settings and scroll to the bottom
  2. There is a setting called Pandoc path. Set this setting to:
    1. Mac/Linux: the output of which pandoc in a terminal
    2. Windows: the output of Get-Command pandoc in PowerShell