modulz-original-design-system-archive
modulz-original-design-system-archive copied to clipboard
Fix syntax highlighting in docs
The syntax highlighting on code blocks breaks depending on the content.
Any example on where? I could look into it.
Check out the docs for any component, for example the Button component. The syntax highlighting works fine for some code blocks, but is not working properly for others.
In the button component docs, if you scroll down to "Button with data", notice how the color of the opening and closing tags is incorrect, compared to other code blocks. Though the rest of that code block works fine.
I'm not sure why it's happening.
I'll have a look
Hmm, too many unknown here for me to figure it out, sorry.
No problem, thanks for trying!