unlit

Tool to convert literate code between styles or to code.

LTS Haskell 22.42:0.4.0.0@rev:2
Stackage Nightly 2024-11-24:0.4.0.0@rev:2
Latest on Hackage:0.4.0.0@rev:2

See all snapshots unlit appears in

BSD-3-Clause licensed by Wen Kokke
Maintained by [email protected]
This version can be pinned in stack with:unlit-0.4.0.0@sha256:7bcbdfd0dfd7a89f54f29773a983e53140551c35a7f8f946b7e76c59d3ca1b5b,1961

Module documentation for 0.4.0.0

Depends on 4 packages(full list with versions):
Used by 1 package in lts-22.38(full list with versions):

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