Add admonitions plus autolink and sub/superscript markdown extensions
!!! note/warning/tip/... blocks (mdit-py-plugins admon) render as lightweight callouts: accent bar + faint wash in the blockquote idiom, recolored per type (tip green, warning pink/red via --admonition-color), rounded and softly shadowed in the summer theme. Also enabled gfm_autolink (bare URLs) and H~2~O / x^2^ sub/superscripts.
This commit is contained in:
@@ -91,7 +91,8 @@ not for the public pages. See `docs/design-principles.md` for the design.
|
||||
on every page, otherwise browsers fall back to the build's
|
||||
`/favicon.ico` by convention.
|
||||
- `markdown.py` — markdown-it-py renderer (html passthrough + attrs,
|
||||
footnote, deflist, tasklists plugins; typographer + breaks on). Custom
|
||||
footnote, deflist, tasklists, admon, gfm_autolink, sub/superscript
|
||||
plugins; typographer + breaks on). Custom
|
||||
image rule: relative srcs resolve against the page path; an image
|
||||
standing alone in its paragraph becomes a figure (captioned when
|
||||
titled), while inline-with-text images and raw <img> HTML stay plain.
|
||||
|
||||
Reference in New Issue
Block a user