Pandoc filter to provide minted support (github.com/nick-ulle/pandoc-minted)
Project description
pandoc_minted
Pandoc filter to provide minted support (github.com/nick-ulle/pandoc-minted)
Usage
Besides installing minted, you’ll have to include it either in your templates or in your markdown header metadata, as follows:
--- title: Test author: Author Name header-includes: - \usepackage{minted} ---
Pandoc generates tex for minted in a temporary file so you’ll experience this errors read more
! Package minted Error: Missing Pygments output; \inputminted was probably given a file that does not exist--otherwise, you may need the outputdir package option, or may be using an incompatible build tool.
So you’ll need to use this commands as follows:
pandoc -F pandoc-minted -s myfile.md -o myfile.tex pdflatex --shell-escape myfile.tex
Licence
Free software: MIT license
Documentation: https://pandoc-minted.readthedocs.io.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-01-17)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.