Components
Markdown
Terminal Markdown renderer — headings, lists, code blocks, and blockquotes.
Render a subset of Markdown in the terminal with proper formatting, colors, and code blocks.
Installation
Usage
Supported Syntax
| Element | Syntax |
|---|---|
| H1, H2, H3 | # ## ### |
| Bold | **text** |
| Italic | *text* |
| Inline code | `code` |
| Strikethrough | ~~text~~ |
| Link | [text](url) |
| Unordered list | - item |
| Ordered list | 1. item |
| Code block | ```lang ``` |
| Blockquote | > text |
| Horizontal rule | --- |
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
content | string | — | Markdown source (required) |
width | number | — | Max width for wrapping |
highlightCode | boolean | false | Syntax highlight code blocks |
maxHeight | number | — | Max visible rows (enables scroll) |
theme | InkUITheme | darkTheme | Color theme |