0

I want to use vue-styleguidist to document my components. Decided to start with a spinner. A preview of the component is displayed properly but the code example is not formatted as I expected (check https://vue-styleguidist.github.io/basic/#button for the reference).

How to fix it? enter image description here

Anastasiia
  • 21
  • 4

1 Answers1

0

There is a config flag that will remove all styling from the editor, if case you plan on using your own prismjs theme:

jssThemedEditor

If it is set to false, you will get exactly this result.

Otherwise, open the browsers console, there is always some information about what went wrong.

I hope this helps, keep us posted.

ElevateBart
  • 36
  • 1
  • 6