Skip to content

Markdown

widgetsdisplay

Markdown: renders a subset of Markdown syntax in the terminal

Installation

$ bunx termuijs add markdown

Copies the source into src/components/markdown/ and installs @termuijs/core, @termuijs/widgets.

Usage

ts
import { Markdown } from '@termuijs/widgets'
ts
new Markdown(options: MarkdownOptions, style: Partial<Style> = {})

API Reference

Markdown

PropTypeRequiredDescription
contentstringrequired
#display#markdown