Closed as duplicate
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
When first enter the page, the CodeBlock component will not initialize the dark and light themes correctly as shown in the picture.
The Navbar logo icon will reload when switching pages
Has this been requested on Canny?
No response
Motivation
This large visual difference will affect the user's browsing experience. I have also developed some front-end projects. I cannot tolerate these details. Of course, its importance may be minimal for each developer.
API design
No response
Have you tried building it?
No response
Self-service
- I'd be willing to contribute this feature to Docusaurus myself.
Metadata
Metadata
Assignees
Labels
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.


Activity
slorber commentedon Jun 29, 2025
Logo: duplicate of
#2891
We are aware of the code block problem but it's a current limitation in our dependency, tracked here: FormidableLabs/prism-react-renderer#149