Highlight.js

Created on January 28, 2025 — updated on August 18, 2026


Enable and Disable

  • Default: false
theme:
  highlightjs: false

Highlight.js with languages

theme:
  highlightjs: true
  hljs_languages:
    - yaml
    - python

Supported Languages

The theme supports syntax highlighting for multiple languages. Currently configured:

  • YAML: For configuration files
  • Python: For code examples and scripts

To add more languages, add them to the hljs_languages list in mkdocs.yml.