Terminal Markdown Rendering?

Are there any shards for markdown rendering in CLI applications? Something similar to charmbracelet/glamour.

If you just want to dump Markdown files in a pretty way to the console, I wrote a very small program called mdcat that does this. It’s essentially cat, but for Markdown.

7 Likes

I really like this but unfortunately I need something like a library that I can use in an application. What did you use to make it?

I used markd for the Markdown parsing, then just implemented a custom renderer based on Markd::Renderer.

2 Likes