pandoc-filter-indent

Version 0.3.2.0 revision 0 uploaded by MichalGajda.

Package meta

Synopsis
Pandoc filter formatting Haskell code fragments using GHC lexer.
Description

Formats marked code fragments, and allows pandoc to safely process rest of your literate program:

```{.haskell}

Usage:

stack install pandoc-filter-indent
pandoc --filter pandoc-filter-indent -f input.md -o output.pdf
pandoc --filter pandoc-filter-indent -f input.md -o output.html

Using lhs2TeX is somewhat inconvenient on large Markdown documents processed with pandoc, since it assumes that it can freely redefine everything. It is also pretty heavy on learning.

So instead we have a simple Pandoc filter that is only applied to CodeFragments and creates tabular code structures from indentation. It uses GHC lexer to assure that latest features are always parsed correctly.

Please see the README on GitHub at https://github.com/mgajda/pandoc-filter-indent#readme

Author
Michał J. Gajda
Bug reports
https://github.com/mgajda/pandoc-filter-indent/issues
Category
Text
Copyright
AllRightsReserved
Homepage
https://github.com/mgajda/pandoc-filter-indent#readme
Maintainer
mjgajda@migamake.com
Package URL
n/a
Stability
n/a

Components