Mini styles native Markdown through Beauty.css. Bundled Inter is the default; the public demo uses a custom font profile. Fonts are served from the site itself.
Headings
In the public demo, H1 and article H2 headings use Sourdine Medium. Body text and lower-level headings use Story.1
Third-Level Heading
Fourth-Level Heading
Fifth-Level Heading
Text Formatting
Bold, italic and combined emphasis follow the active font profile. Bundled Inter uses 300 for body text, 500 for prominent links and 600 for bold text.
Inline code is monospace. In prose, the fraction shortcode sets a fraction like 1/3
alongside ordinary figures such as 2026.
Links
Open Articles
in a new tab or jump to Tables
in this article. The demo enables articleLinksNewTab in post bodies.
Lists
Unordered lists:
- Self-hosted Inter: normal 300, 500 and 600, plus italic 300
- Dark mode with system preference detection
- Multilingual support with language switcher
- Mobile-first responsive layout
Ordered-list markers share the surrounding text weight:
- Create your content in
content/directory - Configure the theme in
config.toml - Run
npm run devfor the search-enabled demo or starter - Build with
npm run buildand publishpublic/
Nested lists work too:
- Typography
- Headings with progressive scale
- Comfortable reading weight
- Monospace code blocks
- Features
- KaTeX math formulas
- Mermaid diagrams
- Custom shortcodes
Blockquotes
An editorial lead gives a definition or a central idea a paragraph of its own.
Dieter Rams on design:
“Good design is as little design as possible. Less, but better — because it concentrates on the essential aspects, and the products are not burdened with non-essentials.”
Code Blocks
Set markup.highlight.noClasses = false for colors that follow both themes. The demo enables this in its Hugo configuration.
package main
import "fmt"
func main() {
fmt.Println("Hello from Mini!")
}:root {
--color-primary: #0060a0;
--color-accent: #d04000;
}Tables
| Feature | Status | Notes |
|---|---|---|
| Dark mode | Supported | System preference + manual toggle |
| Math | Supported | KaTeX, per-page opt-in |
| Diagrams | Supported | Mermaid, per-page opt-in |
| i18n | Supported | EN + RU out of the box |
Horizontal Rule
Three dashes create a horizontal rule, with 32 px before it and 16 px after:
Content continues below.
Images
Images are lazy-loaded with loading="lazy" and decoding="async" via the render hook. Just use standard Markdown syntax:
Source of this example: Hugo Mini.
1 A fresh installation uses the bundled Inter. To use your own title face for article H2s, configure
params.fonts.titleand enablearticleH2UseTitleFont.