Enhancement switches: defaults and per-entry overrides

Choose enhancements for each entry and override global defaults.

Math, diagrams, image lightboxes, callouts, outlines and share covers support global settings and per-entry overrides.

Global defaults

Set defaults in article in blog.config.ts. Outlines use toc.enabled, and automatic share covers use shareCover.enabled.

Per-entry overrides

Add the fields you want to adjust to an article or standalone page’s frontmatter:

math: true
mermaid: false
lightbox: true
callouts: true
toc: true
shareCover: false

true enables a feature, false disables it, and omitted fields inherit global settings. Include only the fields you want to change.

Available switches

FieldFeature
mathKaTeX math
mermaidMermaid diagrams
lightboxPhotoSwipe image lightbox
calloutsCallouts
tocArticle outline
shareCoverAutomatic Satori share cover

Disabling math, diagram or callout enhancements displays the corresponding source or a plain quotation. Disabling automatic share covers uses the configured article cover for sharing previews.

Try the features in Article enhancements. Title and author display settings are covered in Article display.

Markdown

Search articles

Recent articles

Meet BlogGPTBrowsing and search: discover articles through conversationContent organization: files, languages and assetsMarkdown typography: text, tables and codeArticle enhancements: callouts, math, diagrams and lightboxesEnhancement switches: defaults and per-entry overrides

Keyboard shortcuts

Search articles
Ctrl+K
Toggle sidebar
Ctrl+Shift+S
Home
Ctrl+Shift+O
Focus search input
Shift+Esc
Keyboard shortcuts
Ctrl+/

Blog statistics

Articles
10
Characters
13,276
Days online
1021
Language
zh / en
First publication
Jul 22, 2025
Latest update
Oct 16, 2026
Average length
1,328
Average interval
50.1 days / article

Publishing in the past year

MWFNovDecJanFebMarAprMayJunJulAugSepOct

Public articles in the site timezone. Darker cells mean more posts.

Recent article lengths