Highlighter¶
Extensions: pymdownx.highlight, pymdownx.superfences, pymdownx.inlinehilite
Features: content.code.copy, content.code.annotate
Syntax Highlighting¶
Colors mirror the Bifrost Highlighter: keywords, control flow, functions, strings, and numbers each map to a fixed Bifrost token color.
Titled Code Block¶
A title="…" fence renders a header bar (language label or filename) with the
copy button, matching the Bifrost Highlighter's header prop.
Line Numbers and Highlighted Lines¶
Code Annotations¶
- The name displayed in the browser tab and header.
- Material for MkDocs provides the theme engine.
- Bifrost supports
teal,purple,pink, andyellow.
Inline Code Highlighting¶
- SQL:
SELECT * FROM users WHERE id = 1reads a single row - CSS:
color: var(--bfc-base-c)reads a Bifrost token - Bash:
echo $PATHprints the PATH variable