jgm/djoths

Haskell parser for the djot light markup language

31

stars

326

commits

Haskell

primary language

Sep 3, 2026

updated

README

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.

Contributors

jgm

324 commits

gfarrell

1 commits

vaibhavsagar

1 commits

jgm/djoths

Haskell parser for the djot light markup language

31

stars

326

commits

Haskell

primary language

Sep 3, 2026

updated

README

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.

Contributors

jgm

324 commits

gfarrell

1 commits

vaibhavsagar

1 commits

Languages

Haskell

99.8%