words

Installation
SKILL.md

@pierre/words

Words supports CommonMark, GFM, and footnotes. Install @pierre/words with the app's package manager. The package initializes WebAssembly on import. Install React for the React entry point, @pierre/highlights for syntax colors, or pele for Mermaid diagrams as needed.

Choose an API

Task API and import Reference
Render Markdown in React, optionally with React component islands Markdown from @pierre/words/react React
Generate HTML strings with URL checks or patch an existing element createHtmlRenderer or createDomRenderer from @pierre/words/html HTML and DOM
Generate UTF-8 HTML or ANSI bytes, or read YAML frontmatter renderToHtml or renderToAnsi from @pierre/words Core
Consume completed and pending HTML yourself createHtmlSession from @pierre/words Streaming
Add math, CJK emphasis, Mermaid, syntax colors, or custom fences Parser options or renderer plugins Extensions
Installs
50
GitHub Stars
6.7K
First Seen
Nov 11, 2026