Repository navigation
Markdown documents now render code, diagrams, equations, and common extensions into readable HTML at generation time. The generated document uses doc-ui CSS without a runtime syntax-highlighting, Mermaid, or math library.
Added
- Syntax highlighting for fenced code blocks, using doc-ui token styles.
- Mermaid diagrams rendered as embedded SVG images, with light and dark variants, captions, and expandable source.
- Inline and display mathematics rendered as native MathML.
- Footnotes, definition lists, and GitHub-style alerts alongside tables, task lists, and the existing Markdown syntax.
- Optional full-page PNG output from the CLI and PNG previews for generated change reports.
- English and Japanese examples, usage documentation, and browser/PDF coverage for rich Markdown.
Fixed
- Prose-page checks distinguish the prose specimen from the new equation example.
- PDF checks handle text extraction that splits font ligatures on Linux.
Use this release
npx @k-kinzal/doc-ui@1.3.0 input.md --lang ja -o output.htmlMermaid and PNG generation require the optional browser tooling:
npm install --save-dev playwright@1.63.0
npx playwright install chromiumThe CLI requires Node.js 22 or newer. Generated HTML includes the rendered code, SVG diagrams, and MathML; no JavaScript or CDN libraries are needed to read those features. Authored image references retain their original URLs.
<link rel="stylesheet"
href="https://k-kinzal.github.io/document-design/v1.3.0/document-design.css">The ZIP contains the compiled distribution, design reference, version and commit identifier, and third-party notices. The npm-format archive also includes package exports and source modules. SHA-256 checksums are attached.
/v1.3.0/ is immutable. /v1.3/ and /v1/ follow compatible releases. The product site and Storybook follow the highest stable release.
Getting started · Components · Storybook · Japanese documentation
Validation
The tagged CI build passed repository/package checks, the full browser and PDF suite, and site/Storybook builds. All 76 compiled files in the npm-format archive match the tagged CI artifact. The packed CLI was also run outside the workspace to verify highlighted code, MathML, footnotes, and script-free output.
Change report
- Download the HTML report (release asset): https://github.com/k-kinzal/document-design/releases/download/v1.3.0/document-design-release-v1.3.0.html
- Browser preview (workflow artifact, expires): https://github.com/k-kinzal/document-design/actions/runs/42148510536/artifacts/13472031175
- Compared:
8a9032c7546d→0a1fc1267d22 - Status: Partial (some evidence was not read)
- Workflow: https://github.com/k-kinzal/document-design/actions/runs/42148510536
