Skip to content
/ djoths Public

Haskell parser for the djot light markup language

License

Notifications You must be signed in to change notification settings

jgm/djoths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 5, 2024
8f321ad · Oct 5, 2024
Mar 18, 2024
Feb 10, 2024
Feb 10, 2024
Sep 13, 2024
Sep 13, 2024
Jan 12, 2024
Oct 5, 2024
Jan 12, 2024
Feb 8, 2024
Feb 15, 2024
Feb 5, 2024
Oct 5, 2024

Repository files navigation

djoths

This is a Haskell library and command-line tool for parsing the djot light markup language.

The parser reads a ByteString and builds an AST. An HTML renderer and a Djot renderer are included.

For an example of its use, see app/Main.hs.

The parser has very good performance. For example, it is 8X faster than commonmark-hs on comparable input with comparable extensions enabled, and more than twice as fast as djot.js.