Render Yozora AST into HTML strings, with standalone styles or Tailwind CSS v4 integration.
- @yozora/html — shared renderer contexts, types and escaping.
- @yozora/html-gfm — GFM core nodes, matching
@yozora/parser-gfm. - @yozora/html-gfm-ex — GFM extensions: tables, strikethrough and task lists.
- @yozora/html-yozora — complete rendering, including admonitions, footnotes and math.
- Demo — run
pnpm demoto compare both styles athttp://127.0.0.1:7301/.
Use pnpm 12.3.4 and Node.js 22.22.1+, 24.11.0+ or 26.x.
pnpm install --frozen-lockfile
pnpm typecheck
pnpm lint
pnpm build
pnpm test:build --sourcemap
pnpm test:coveragepnpm build builds all four libraries and the private demo. pnpm build:production omits library
source maps; verify it with pnpm test:build --no-sourcemap. pnpm format applies Biome fixes.
See the test guide for focused runs and snapshots.
The four renderer packages are published; @yozora/demo remains private.
- Update the renderer packages'
package.jsonversions andCHANGELOG.mdfiles, then runpnpm docs:linksandpnpm install --lockfile-only. - Run
pnpm run :publish:prepareandpnpm run :publish:verifyto build and validate locally. - Review and commit the changes, then run
pnpm run :publishfrommain.
Publishing repeats the validation and publishes unpublished versions; it does not create
version bumps or Git tags. Use pnpm run :publish-recover to retry an interrupted release.