Skip to content
A pandoc filter that has the LaTeX writer use minted for typesetting code.
Python
Branch: master
Clone or download
nick-ulle Merge pull request #6 from gandalfsaxe/patch-1
Clarify `ln` command flags for OS X.
Latest commit d8416ee Jun 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial import of filter code. Apr 27, 2015
README.md Fix README typo. Jun 28, 2018
pandoc-minted.py Move minted.py to pandoc-minted.py. Feb 20, 2016

README.md

pandoc-minted

A pandoc filter that has the LaTeX writer use minted for typesetting code.

Installation

Clone this repository to somewhere safe:

git clone https://github.com/nick-ulle/pandoc-minted.git

Then create a symlink to pandoc-minted.py in a directory on the $PATH:

cd pandoc-minted
ln -rs pandoc-minted.py DIRECTORY/pandoc-minted

Note that on OS X you must omit the r flag.

Usage

pandoc --filter pandoc-minted -o myfile.tex myfile.md

When you don't set the language for a code block, pandoc-minted will default to text. You can change the default language with a Pandoc metadata block:

---
pandoc-minted:
  language: python
---
You can’t perform that action at this time.