{"repo":"steipete/Markdansi","free":true,"listed":false,"github":"https://github.com/steipete/Markdansi","clone":"git clone https://github.com/steipete/Markdansi.git","description":"Markdown to ANSII in TypeScript based on Micro-Mark, with support for URLs, tables, lists and more.","language":"TypeScript","stars":61,"topics":["ansii","markdown","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"Markdansi 🎨 — Markdown, dressed for the terminal. Markdansi renders GitHub Flavored Markdown as wrapped ANSI output for Node.js terminals. Use it as a CLI, an ESM library, or an append-only streamer for incremental output. Install Markdansi requires Node.js 22 or newer. Run the CLI without installing it: Add the CLI and library to a project with your package manager: Quick start Pipe Markdown to the CLI and it writes rendered output to stdout: Omit --no-color for ANSI styles and OSC-8 links when the terminal supports them. Use as a library Markdansi ships as ESM. CommonJS callers can load it with import(\"markdansi\") . createRenderer() binds options for repeated renders, while strip() produces plain text without ANSI or hyperlinks: Stream incremental Markdown createMarkdownStreamer() emits completed fragments without cursor movement or in-place redraw. Regular lines are emitted as they arrive; fenced code blocks and tables are buffered until they are complete. This mode is intended for append-only output such as streamed model responses and terminal logs. Customize rendering Built-in themes are default , dim , bright , solarized , monochrome , and contrast . A custom theme can set named, hex, or ANSI-256 foreground and background colors. Area Main options --------------- ----------------------------------------------------------------------------- Layout width , wrap , listIndent , quotePrefix Color and links color , hyperlinks , theme Tables tableBorder , tablePadding , tabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/steipete","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/steipete/Markdansi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}