unlit

Tool to convert literate code between styles or to code.

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Pepijn Kokke

Tool to convert literate code between styles or to code. Usage:

unlit
  -f STYLE_NAME  --from=STYLE_NAME    Source style (all, bird, haskell, latex, markdown, tildefence, backtickfence)
  -t STYLE_NAME  --to=STYLE_NAME      Target style (bird, latex, tildefence, backtickfence, code)
  -i FILE        --input=FILE         Input file (optional)
  -o FILE        --output=FILE        Output file (optional)
  -l LANGUAGE    --language=LANGUAGE  Programming language (restrict fenced code blocks)
  -h             --help               Show help
  -v             --version            Show version