Skip to main content

Pandoc filter to provide minted support (github.com/nick-ulle/pandoc-minted)

Project description

pandoc_minted

https://img.shields.io/pypi/v/pandoc_minted.svg https://img.shields.io/travis/D3f0/pandoc_minted.svg Documentation Status Updates

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandoc-minted-0.2.0.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file pandoc-minted-0.2.0.tar.gz.

File metadata

File hashes

Hashes for pandoc-minted-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0cc0a2c279c514df2512a4ffe59766b02b59fe68e4ee85c4437e2e00d40bcaa6
MD5 4a42db3591ad782bf606189a0faf4071
BLAKE2b-256 f3ba83dfdca8067b84caef8239bc1babc2787f5f17b6d93787a66d9aede20a2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page