MDTRender is a lightweight and fast Markdown parser that lets you render text
in ANSI-compatible terminals with beautiful formatting.
- 🔹 Text styling:
- Bold, italic, underline,
strikethrough inline codehighlighting
- Bold, italic, underline,
- 🔹 Formatting:
- Headings
#,##,### - Lists:
-,*(bulleted),1.,2.(numbered) -
Quotes with automatic alignment
- Headings
- 🔹 Code blocks:
shandcwith automatic line alignment- Framed for better readability
- 🔹 Full ANSI color support for the best terminal display
#include "mdrender.h"
int main() {
const char _md = "# Hello, MDRender!\n\n_*It works!**";
printf("%s\n", get_terminal_markdown_string(md));
return 0;
}git clone https://github.com/username/mdrender.git
cd mdrender
cmake -S . -B build
cmake --build build
sudo cmake --install buildThis project is distributed under the MIT license. Use it freely! 🖖
