Article enhancements: callouts, math, diagrams and lightboxes

Try callouts, math, diagrams, image lightboxes and MDX interactive components.

Alongside Markdown typography, BlogGPT provides callouts, math, diagrams and image lightboxes, and supports interactive components in MDX.

Callouts

Custom titles

Create a callout with markers such as > [!NOTE] or > [!TIP]. Add a custom title after the marker.

KaTeX math

Inline math such as E=mc2E=mc^2 appears alongside text. Surround display math with $$:

∫01x2 dx=13\int_0^1 x^2\,dx = \frac{1}{3}

Mermaid diagrams

Write a diagram in a code block marked mermaid:

flowchart LR
A[Write content] --> B[Preview locally]
B --> C[Build the site]
C --> D[Publish]

Expand the source to view it. Diagram colors follow light and dark appearance.

PhotoSwipe image lightbox

Click an image to view it at full size. Zoom, switch images or press Escape to close the lightbox.

Blue and cyan watercolor

A cyan aurora in a dark blue sky

MDX interactive components

Drag the sliders to adjust the sine wave’s amplitude, period and initial phase. The graph updates immediately. Use arrow keys for smaller adjustments, or click “Reset” to restore the initial values.

Sine wave explorer

y = 1.0 sin(2πx / 6.28 + 0.00)

Sine curve; adjust parameters using the sliders below-3-2-1123−2π−π0π2π

Insert a component

Import a component in an .mdx file, then place it in the body:

import SineWave from './SineWave.astro';
<SineWave lang="en" />

This example keeps SineWave.astro, its calculation helper and copy in the article bundle. lang sets the component’s interface language. Keep one-off components in their article bundle, or write simple markup directly in MDX. Put components shared by multiple articles in custom/components/ and import them using relative paths.

Configure each entry

Set global defaults for enhancements and override them in each entry’s frontmatter. See Enhancement switches.

MarkdownContent management

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