Styling Markdown using commonmark - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

The Haskell commonmark library provides an extention to add classes to any block or inline elements. This is especially useful when used with a composable CSS library like tailwind.

The following markdown,

image.png

produces:

image.png

Pure Haskell commonmark parsing library, designed to be flexible and extensible - jgm/commonmark-hs