Highlight.js style declaration in readthedocs theme by jbidoret · Pull Request #3199 · mkdocs/mkdocs · GitHub
Skip to content

Highlight.js style declaration in readthedocs theme#3199

Merged
oprypin merged 3 commits into
mkdocs:masterfrom
jbidoret:patch-1
Apr 28, 2023
Merged

Highlight.js style declaration in readthedocs theme#3199
oprypin merged 3 commits into
mkdocs:masterfrom
jbidoret:patch-1

Conversation

@jbidoret

@jbidoret jbidoret commented Apr 25, 2023

Copy link
Copy Markdown
Contributor

Allow ReadTheDocs theme to benefit from the same customization option that default MkDocs theme provides (regarding code highlighting styles), by setting a default value in mkdocs_theme.yml and by using {{ config.theme.hljs_style }} in base.html.

@oprypin oprypin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are failing

@jbidoret

Copy link
Copy Markdown
Contributor Author

@jbidoret jbidoret deleted the patch-1 branch April 28, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants