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

Fix docs syntax highlighting #1489

Merged
merged 1 commit into from
Feb 28, 2021
Merged

Fix docs syntax highlighting #1489

merged 1 commit into from
Feb 28, 2021

Conversation

florimondmanca
Copy link
Member

Right now our docs is broken wrt syntax highlighting: code blocks render as "plain text".

Turns out a fair bit has changed in the world mkdocs-material and Markdown extensions since we last deployed docs. MkDocs-Material went from 5.* to 7., and circa 6.2. it seems to have migrated from codehilite to Highlight as their primary syntax highlighting engine. As a result the CSS class changed from .codehilite to .highlight — hence the fix in this PR to get code blocks highlighting back. :-)

@florimondmanca florimondmanca added bug Something isn't working docs Changes to the documentation labels Feb 28, 2021
@florimondmanca florimondmanca merged commit 06559f8 into master Feb 28, 2021
@florimondmanca florimondmanca deleted the fm/codehilite-fix branch February 28, 2021 17:31
sthagen added a commit to sthagen/encode-httpx that referenced this pull request Mar 1, 2021
Fix docs syntax highlighting (encode#1489)
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Changes to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants