Enhancement switches: defaults and per-entry overrides

Choose enhancements for each entry and override global defaults.

This post is also available in বাংলা.

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

Field Feature
math KaTeX math
mermaid Mermaid diagrams
lightbox PhotoSwipe image lightbox
callouts Callouts
toc Article outline
shareCover Automatic share cover (OG image)

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.

Xerobi Team

Editorial team

The people behind Xerobi, writing about connectivity, payments and the software that runs them.

Markdown

Search articles

Recent articles

Meet BlogGPTBrowsing and search: discover articles through conversationContent organization: files, languages and assetsReact components in articlesMarkdown typography: text, tables and codeArticle enhancements: callouts, math, diagrams and lightboxes

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
11
Characters
14,372
Days online
1,056
Language
bn / en
First publication
Jul 22, 2025
Latest update
Oct 16, 2026
Average length
1,307
Average interval
45.1 days / article

Publishing in the past year

MWFDecJanFebMarAprMayJunJulAugSepOctNov

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

Recent article lengths