Syntax highlighting not working in codemirror
See original GitHub issueWhat could I be doing wrong?

My markdown looks like:
React component example:
<div>
<JumpingDots/>
</div>
Config:
module.exports = {
title: 'My Great Style Guide',
components: 'src/**/*.jsx',
highlightTheme: "material",
//shortened for brevity
}
Issue Analytics
- State:
- Created 8 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Codemirror syntax highlighting doesn't seem to work · Issue #34
I have it working great EXCEPT the syntax highlighting just doesn't work. I included the necessary library modes (ie: Javascript, PHP) and theme ......
Read more >Why does highlight not working on implement CodeMirror? - v6
I connect those files from codemirror and I add <pre> and </pre> before and after java code lines. And it is not working....
Read more >How to highlight syntax in codeMirror - Stack Overflow
You need to load the mode for the language you want to highlight. In this case, load mode/javascript/javascript.js from the distribution.
Read more >Syntax Highlighter | Documentation for Tiki Wiki CMS ...
In Tiki7 and Tiki8, CodeMirror was not enabled by default in new installations, so that it had to be enabled through: "Admin home...
Read more >Highlight code problems - Bug graveyard - Obsidian Forum
Hi All. I'm making a theme for Obsidian, and wanted to make a good code highlighting without plugins right inside the theme.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sapegin In my case, the only classes I see are
CodeMirror-line
andCodeMirror-code
. No other classes. Doesn’t look like a css problem.Finally I was able to really investigate and fix this issue: https://github.com/styleguidist/react-styleguidist/issues/611