Skip to content

[v2] theme syntax highlighting doesn't display properly on initial render #2149

@yangshun

Description

@yangshun

Reported by @endiliey:

Go to https://v2.docusaurus.io/docs/installation or any link, set dark mode and refresh, it will still be light theme on first page reload.

bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executionstatus: needs triageThis issue has not been triaged by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions