Pagesmith renders standard Markdown typography with clean defaults and enhances prose with remark-smartypants. This page is intentionally example-heavy so you can see how common documentation content renders without extra HTML.
Markdown supports six levels of headings. Use them to create a clear document hierarchy. Pagesmith automatically generates anchor links for each heading, making them linkable.
For documents with many links, reference-style links keep the prose readable. The URL definitions can go anywhere in the document.
Pagesmith is built on the unified ecosystem and uses Vite as its build tool. Syntax highlighting is provided by Pagesmith’s built-in code renderer on top of Shiki.
The unified ecosystem processes content through three stages: parsing, transforming, and compiling.
The parsing stage converts raw text into an abstract syntax tree. The transforming stage modifies the tree through a chain of plugins. The compiling stage serializes the tree back into its output format.
This architecture makes it straightforward to add new capabilities without changing existing plugins.
Pagesmith automatically converts ASCII typography to proper typographic characters through remark-smartypants. This applies to regular prose while leaving code blocks and inline code untouched.