Lynx/Modules/Markdown/Installation
@sigx/lynx-markdown · Stable · Component library

Installation#

Add @sigx/lynx-markdown to your project.

Install the package#

Terminal
pnpm add @sigx/lynx-markdown

@sigx/richtext and @sigx/richtext-markdown come along as dependencies; their @sigx/reactivity / @sigx/runtime-core peers are the ones @sigx/lynx already requires.

The editor#

The renderer is pure JS and needs no native setup. The editor subpath (@sigx/lynx-markdown/editor) needs its two optional peers — the native rich-text field and the keyboard module:

Terminal
pnpm add @sigx/lynx-richtext @sigx/lynx-keyboard
sigx prebuild

Verify#

TSX
import * as Markdown from '@sigx/lynx-markdown';

console.log(Object.keys(Markdown));