User:Jens3/lowdown as replacement for pandoc

From Gentoo Wiki
Jump to:navigation Jump to:search

Emerging app-text/pandoc doesn't work on arm64 since dev-haskell/cabal cannot be compiled. app-text/pandoc-bin is available for amd64 and arm64.

app-text/lowdown is a replacement for some functions of pandoc. It can convert from lowdown, a markdown dialect, to "HTML5, roff documents in the ms and man formats, LaTeX, gemini, OpenDocument, and terminal output" as of version 0.11.2.

The syntax of the lowdown options is similar to pandoc:

user $lowdown -thtml -s -o busybox.html

See also

  • The man page of lowdown(1) offers an example section that shows how to convert to other formats using tools like groff, mandoc, pdfroff and others.
  • The lowdown(5) man page shows lowdown's MarkDown dialect.
  • Other commandline converters can be found in the category app-text. A converter from AsciiDoc to several other formats is included in dev-ruby/asciidoctor. The package does not only contain the ruby API but also an executable.
  • dev-ruby/kramdown is "Yet-another-markdown-parser"