Overview

🌐 English · 日本語

A sample that gathers monodocs' supported syntax and features into a single site. Open each category from the folders in the left sidebar.

Every syntax page shows the source (raw Markdown / AsciiDoc) first, then the rendered output (HTML) below it, so the correspondence between markup and rendering is clear at a glance.

The 2nd is a link from Markdown to an AsciiDoc page. Cross-format links are also converted into hash routes within the single HTML (mixed support).

Build / preview

monodocs build examples/en -o dist/sample.html   # single HTML
monodocs build examples/en --format pdf -o dist/sample.pdf   # PDF
monodocs serve examples/en            # http://127.0.0.1:4173/

For PDF output via the single HTML (bookmarks, in-content links, font requirements, and more), see PDF output.

Search collects queries you can type against this sample to see how matching, keyboard navigation, and body highlighting behave.

Features you can check on this site

  • Full-text search / in-page table of contents (scroll-synced) / prev–next navigation
  • Dark mode / sidebar collapse & auto-expand
  • Code highlighting (shiki) / Mermaid diagrams / Math (MathML)
  • Image data URI embedding / cross-file links & AsciiDoc xref / footnotes
  • Tables, code, images, and diagrams wider than the body width (Markdown / AsciiDoc)
  • Full vertical expansion of all pages when printing / PDF output (with bookmarks and clickable links)