Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight.js style declaration in readthedocs theme #3199

Merged
merged 3 commits into from Apr 28, 2023
Merged

Highlight.js style declaration in readthedocs theme #3199

merged 3 commits into from Apr 28, 2023

Conversation

jbidoret
Copy link
Contributor

@jbidoret jbidoret commented Apr 25, 2023

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.

Copy link
Contributor

@oprypin oprypin left a comment

Choose a reason for hiding this comment

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

Tests are failing

@oprypin oprypin merged commit ea1c6c4 into mkdocs:master Apr 28, 2023
15 checks passed
@jbidoret
Copy link
Contributor Author

Sorry… I didn’t understood why the tests were failing, and didn’t know where to look at… Thanks for the merge.

@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.

None yet

2 participants