Skip to content

v0.16.0

Choose a tag to compare

@mmcky mmcky released this 06 Feb 04:30
· 73 commits to main since this release

Customizable Emphasis and Bold Text Colors

What's New

Customizable Emphasis and Bold Text Colors (#355, #356)

Six new html_theme_options allow per-site color customization of typography elements:

  • emphasis_color / emphasis_color_dark — italic (<em>) text
  • strong_color / strong_color_dark — bold (<strong>/<b>) text
  • definition_color / definition_color_dark — definition list (<dt>) elements

Each supports light and dark mode independently, with CSS custom properties and SCSS fallbacks. Server-side validation prevents CSS injection.

Example configuration:

html_theme_options = {
    "emphasis_color": "#d9534f",
    "strong_color": "#0056b3",
    "definition_color": "#2e7d32",
}

See the configuration docs for full details.

Bug Fixes

  • Math equation visual test stability (#357) — replaced fixed timeout with MathJax.startup.promise for reliable rendering detection
  • Update-snapshots workflow — added continue-on-error to handle missing snapshot exits gracefully

Dependency Updates

  • Bump codecov/codecov-action from 5.5.1 to 5.5.2 (#351)
  • Bump actions/upload-artifact from 5 to 6 (#352)

Full Changelog: v0.15.1...v0.16.0