Skip to content
Invoke pandoc from any text editor with the opened file as input
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pandoc ConTeXt PDF with Template.workflow/Contents
Pandoc ConTeXt PDF.workflow/Contents
Pandoc ConTeXt.workflow/Contents
Pandoc HTML MathJax.workflow/Contents
Pandoc HTML.workflow/Contents
Pandoc LaTeX PDF with Template.workflow/Contents
Pandoc LaTeX PDF.workflow/Contents
Pandoc LaTeX.workflow/Contents
Pandoc selection to HTML clipboard.workflow/Contents
README.md

README.md

Pandoc Mac OS X Services

Invoke pandoc from any text editor with the opened file as input.

This is achieved using Mac OS X services.

Go!

  1. Copy the files to your ~/Library/Services folder
  2. Restart your editor, open and save a file containing some markdown
  3. Go to the Services menu (for example if you're using Sublime: Sublime > Services) and choose a service like Pandoc PDF.
  4. After a few seconds, the PDF file will appear in the same folder as your markdown file
  5. Finally, you can assign a keyboard shortcut to invoke a service in System Preferences > Keyboard > Keyboard Shortcuts > Services (on the left).

Templates

Pandoc PDF with Template and Pandoc ConTeXt PDF with Template look for a template.tex or contextTemplate.tex file respectively in the same directory as the input file.

To get a copy of the default pandoc template to customize, use pandoc -D latex > template.tex or pandoc -D context > contextTemplate.tex respectively.

You can’t perform that action at this time.