Skip to content

[FR] Alternative setting for highlightjs #3189

@redtide

Description

@redtide

Current:

highlightjs: true
hljs_languages:
- cpp
hljs_style: github

Alternative:

highlightjs:
  languages:
     builtin:
     - cpp
     extra (or custom or whatever):
     - relative or abs url to customlanguage.min.js
  style: github

or if #2171 would be (finally) a thing (or not, needs some strategy to support also only 1 mode by defining 1 of 2):

highlightjs:
  ...
  style:
    light: github
    dark: github-dark

Metadata

Metadata

Assignees

No one assigned

    Labels

    Theme-mkdocsIssues specifically involving the mkdocs theme.Theme-readthedocsIssues specifically involving the readthedocs theme.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions