Skip to content

Releases

doc-ui v1.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 02:22

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.html

Mermaid and PNG generation require the optional browser tooling:

npm install --save-dev playwright@1.63.0
npx playwright install chromium

The 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.

All changes since v1.2.1

Change report

Change report

doc-ui v1.2.1

Choose a tag to compare

@quuuai quuuai released this 05 Oct 13:02

The Markdown conversion, research-paper, book, and palette features from v1.2.0, with fixes for Linux PDF pagination.

Versioning

The backward-compatible features since v1.1.0 warranted the v1.2.0 minor release. This patch release fixes PDF pagination found by the Linux publication checks. The published v1.2.0 tag and its distribution assets remain unchanged. Existing package exports and HTML authoring contracts are preserved. The new Markdown converter requires Node.js 22 or newer; generated HTML remains readable without Node.js, JavaScript, or a network connection.

Added

  • A bundled doc-ui Markdown-to-HTML CLI with document, report, paper, and book layouts; file and stdin input; English and Japanese output; theme, colour, and print options; and embedded CSS with third-party notices.
  • Research-paper composition with .sheet-paper, .paper-columns, title headers, abstracts, bylines, and equation roles. Two-column papers return to a single column when space is limited and retain their reading order in print.
  • Book composition with trim geometry, mirrored margins, running headers, folios, printable proofs, and the optional @k-kinzal/doc-ui/book helpers.
  • 32 light/dark palette pairs, individual CSS overlays, a palette catalog, and optional palette controls. Page-level colour, grayscale, and monochrome modes support nested documents.
  • English and Japanese usage pages and complete report HTML examples, with expanded Storybook specimens and browser/PDF coverage.

Fixed

  • Multiline research-paper headings stay together across page and column boundaries.
  • Publication print spacing keeps the opening figure and final footer with their surrounding content across A4/Letter and macOS/Linux fonts, without reducing text sizes.
  • PDF assertions tolerate text runs split around ligatures and retain generated PDFs for inspection.
  • Report comparisons share their row alignment correctly, preserve number precision, and scroll long figures locally without overlapping captions.
  • Narrow and embedded report sheets retain title/figure hierarchy and section-label styling.
  • Product-page pagination, disclosures, figure spacing, source URLs, and footer flow print consistently.
  • Palette identity and state inks follow the selected accent, while the selector remains a compact native control.

Use this release

<link rel="stylesheet"
      href="https://k-kinzal.github.io/document-design/v1.2.1/document-design.css">

For the CLI, download the attached package archive and run:

npx --package ./k-kinzal-doc-ui-1.2.1.tgz doc-ui input.md -o output.html

The ZIP contains the compiled stylesheets, tokens, palettes, optional JavaScript, bundled CLI, design reference, version and commit identifier, and license notices. The npm-format archive also contains the package exports and source modules. SHA-256 checksums are attached.

/v1.2.1/ is immutable. /v1.2/ and /v1/ follow compatible releases. The product site and Storybook follow the highest stable release; prior full-version distributions remain unchanged.

Getting started · Components · Storybook · Japanese documentation

Validation

Repository and package checks, the full Linux browser/PDF suite, macOS PDF regression tests, packed-CLI execution, and the site, Storybook, report, and publication builds pass. Distribution checks retain bundled third-party notices and review dependency licenses. Automated change-report generation is separate from the Pages deployment.

All changes since v1.1.0

Change report

doc-ui v1.2.0

Choose a tag to compare

@quuuai quuuai released this 05 Oct 12:26

Superseded by v1.2.1, which fixes PDF pagination found by the Linux publication checks. The v1.2.0 tag and downloadable assets remain unchanged; its Pages deployment did not complete. Use v1.2.1 for the published site and stylesheet URLs.

A compatible feature release for Markdown conversion, research papers, book typesetting, and accessible colour palettes.

Versioning

This is a minor release from v1.1.0: it adds optional public APIs while preserving existing package exports and HTML authoring contracts. The new Markdown converter requires Node.js 22 or newer; generated HTML remains readable without Node.js, JavaScript, or a network connection.

Added

  • A bundled doc-ui Markdown-to-HTML CLI with document, report, paper, and book layouts; file and stdin input; English and Japanese output; theme, colour, and print options; and embedded CSS with third-party notices.
  • Research-paper composition with .sheet-paper, .paper-columns, title headers, abstracts, bylines, and equation roles. Two-column papers return to a single column when space is limited and retain their reading order in print.
  • Book composition with trim geometry, mirrored margins, running headers, folios, printable proofs, and the optional @k-kinzal/doc-ui/book helpers.
  • 32 light/dark palette pairs, individual CSS overlays, a palette catalog, and optional palette controls. Page-level colour, grayscale, and monochrome modes support nested documents.
  • English and Japanese usage pages and complete report HTML examples, with expanded Storybook specimens and browser/PDF coverage.

Fixed

  • Report comparisons share their row alignment correctly, preserve number precision, and scroll long figures locally without overlapping captions.
  • Narrow and embedded report sheets retain title/figure hierarchy and section-label styling.
  • Product-page pagination, disclosures, figure spacing, source URLs, and footer flow print consistently.
  • Palette identity and state inks follow the selected accent, while the selector remains a compact native control.

Use this release

<link rel="stylesheet"
      href="https://k-kinzal.github.io/document-design/v1.2.0/document-design.css">

For the CLI, download the attached package archive and run:

npx --package ./k-kinzal-doc-ui-1.2.0.tgz doc-ui input.md -o output.html

The ZIP contains the compiled stylesheets, tokens, palettes, optional JavaScript, bundled CLI, design reference, version and commit identifier, and license notices. The npm-format archive also contains the package exports and source modules. SHA-256 checksums are attached.

/v1.2.0/ is immutable. /v1.2/ and /v1/ follow compatible releases. The product site and Storybook follow the highest stable release; prior full-version distributions remain unchanged.

Getting started · Components · Storybook · Japanese documentation

Validation

Repository and package checks, browser and PDF tests, packed-CLI execution, and the site, Storybook, report, and publication builds pass. Distribution checks retain bundled third-party notices and review dependency licenses. Automated change-report generation is separate from the Pages deployment.

All changes since v1.1.0

doc-ui v1.1.0

Choose a tag to compare

@quuuai quuuai released this 27 Sep 21:45

A compatible feature release for longer papers, citations, and generated reports.

Added

  • A4 and Letter print setup with page numbers through data-dd-paper, plus control over printed link addresses with data-dd-print-urls.
  • .cite and .sources for numbered citations and source lists, including Japanese labels.
  • Report-sized timelines, multi-paragraph entries, and .hero > .figures for introductions built around words.
  • English and Japanese long-paper examples, a Sources guide, and expanded Storybook examples.
  • GitHub Actions for generating change reports and attaching them to pull requests or releases. The generator uses Copilot CLI 1.0.88; the actions are available at the v1.1.0 tag.

Fixed

  • Report columns, nested layouts, statistics, and figures remain readable in narrow containers.
  • Section spacing, heading alignment, figure captions, and pagination behave consistently.
  • Listing previews grow with their content instead of cutting text at narrow widths.
  • Distribution files include the MIT license, and Storybook retains its third-party notices.

Use this release

<link rel="stylesheet"
      href="https://k-kinzal.github.io/document-design/v1.1.0/document-design.css">

The ZIP contains the stylesheets, tokens, optional JavaScript, design reference, version and commit identifier, and MIT license. SHA-256 checksums are attached.

/v1.1.0/ is immutable. /v1.1/ and /v1/ follow compatible releases. The product site and Storybook use the latest stable release; archived full-version URLs remain unchanged.

Getting started · Components · Storybook · Japanese documentation

Validation

Repository and package checks, browser and PDF tests, and the site, Storybook, and publication builds pass. Automated change-report generation requires available Copilot quota; it is independent of the Pages deployment.

All changes since v1.0.0

doc-ui v1.0.0

Choose a tag to compare

@k-kinzal k-kinzal released this 23 Sep 13:27

The first stable release of doc-ui, a CSS design system for documents and reports.

Dense catalogs stay easy to scan, while report layouts make the main point visible at a glance. The release includes English and Japanese typography, 43 component and layout guides, shared styles for figures and charts, light and dark themes, print styles, and optional JavaScript interactions.

Get started

<link rel="stylesheet"
      href="https://k-kinzal.github.io/document-design/v1.0.0/document-design.css">

Start your first document · Components · Storybook · 日本語

The attached archive contains the stylesheets, tokens, optional JavaScript, and design reference for offline use.

Versioned distribution

  • /v1.0.0/ preserves this exact release.
  • /v1.0/ follows compatible patch releases; /v1/ follows compatible releases in the major series.
  • Published main builds have immutable full-commit-SHA paths; /latest/ follows main.
  • The product site and Storybook follow the latest stable release, with the site's CSS and JavaScript pinned to that full version.

See published versions for release and commit identifiers.

License

MIT License. Keep the attached LICENSE with offline copies. The original ZIP and full-version files are unchanged; the license is supplied as an additional asset. Third-party notices for Storybook are supplied separately and attached to this release.