modulz-original-design-system-archive icon indicating copy to clipboard operation
modulz-original-design-system-archive copied to clipboard

Fix syntax highlighting in docs

Open colmtuite opened this issue 7 years ago • 5 comments

The syntax highlighting on code blocks breaks depending on the content.

colmtuite avatar Nov 23 '17 05:11 colmtuite

Any example on where? I could look into it.

eklem avatar Apr 10 '18 08:04 eklem

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.

colmtuite avatar Apr 10 '18 08:04 colmtuite

I'll have a look

eklem avatar Apr 10 '18 10:04 eklem

Hmm, too many unknown here for me to figure it out, sorry.

eklem avatar Apr 18 '18 06:04 eklem

No problem, thanks for trying!

colmtuite avatar Apr 18 '18 06:04 colmtuite