Skip to content

Syntax highlighting broken in Chromium-based browsers #234

@amoeba

Description

@amoeba

In Chrome and Arc (both Chromium), our syntax highlighting looks to be broken:

Image

When I watch closely, I initially see the correct highlighted code which indicates something in the JS bundle is overriding the build-time highlighting. This doesn't happen in Firefox or Safari so my guess is both that (1) something changed and (2) there's a race condition involved.

The mkdocs-material docs themselves have the same issue so it's not something we've done but we will need to work around it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions