# Marcli - render markdown in terminal

**URL:** <https://forum.elixirforum.com/t/marcli-render-markdown-in-terminal/74881>\
**Category:** Announcing\
**Tags:** library, syntax-highlight, markdown, terminal\
**Created:** [April 3, 2026, 6:45pm UTC](https://forum.elixirforum.com/t/marcli-render-markdown-in-terminal/74881 "2026-04-03T18:45:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mudasobwa](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/32/41119_2.png) [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Post date:** [April 3, 2026, 6:45pm UTC](https://forum.elixirforum.com/t/marcli-render-markdown-in-terminal/74881/1 "2026-04-03T18:45:36Z")

</div>

I extracted the part rendering markdown to terminal (ANSI escape sequences) from `yeesh` to a separate library. Welcome [Marcli](https://hexdocs.pm/marcli).

 ![image](https://forum.elixirforum.com/uploads/default/original/3X/2/5/2547db94fad8c5d909df18a149f189ad022259a9.png)

It leverages `MDEx` to parse markdown and `makeup` to highlight code blocks.

> Marcli converts Markdown into styled terminal text using ANSI escape sequences. It parses via [MDEx](https://hexdocs.pm/mdex) and renders headings, lists, code blocks, inline formatting, links, images, and more as richly styled output for terminal emulators.

> ## Supported Elements
> 
> - Headings (h1: bold yellow, h2: bold cyan, h3+: bold white)
> - Bold, italic, strikethrough, inline code
> - Bullet lists (triangle markers) and ordered lists (circled numbers)
> - Code blocks with optional language headers (syntax-highlighted when a `makeup_lang` lexer is loaded)
> - Block quotes (vertical bar prefix)
> - Thematic breaks (horizontal rules)
> - Links (underlined blue with dimmed URL)
> - Images (bracketed alt text with URL)
> - Task list items (checkbox markers)
> - Shortcodes (emoji)

Enjoy!

[https://github.com/Oeditus/marcli/](https://github.com/Oeditus/marcli/)

---

<div class="post-metadata">

**Author:** ![mudasobwa](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/32/41119_2.png) [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Post date:** [April 4, 2026, 7:01am UTC](https://forum.elixirforum.com/t/marcli-render-markdown-in-terminal/74881/2 "2026-04-04T07:01:58Z")

</div>

**v0.2.0** got released with: tables with pseudographic + nested lists indent fix.

 ![image](https://forum.elixirforum.com/uploads/default/original/3X/f/a/fa260bbb6f0a9732c1a5490198f36e9c8b03f7f4.png)

Enjoy!

---

<div class="post-metadata">

**Author:** ![mudasobwa](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mudasobwa/32/41119_2.png) [@mudasobwa](https://forum.elixirforum.com/u/mudasobwa)\
**Post date:** [April 8, 2026, 11:29am UTC](https://forum.elixirforum.com/t/marcli-render-markdown-in-terminal/74881/3 "2026-04-08T11:29:48Z")

</div>

**`v0.3.0`** Sophisticated `Color` management with [Color - a comprehensive color library](https://forum.elixirforum.com/t/color-a-comprehensive-color-library/74930)

Kudos to @kip.
