react-styleguidist: Syntax highlighting not working in codemirror

What could I be doing wrong?

screen shot 2016-03-15 at 8 03 52 pm

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
}

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

@sapegin In my case, the only classes I see are CodeMirror-line and CodeMirror-code . No other classes. Doesn’t look like a css problem.

screen shot 2016-03-16 at 6 39 02 am