Markdown javascript highlighting is broken if you use a JSDoc comment at the top
PlannedExample where it does not highlight correctly in the output. The keyword is respected in the MD editor and actually highlights correctly (and better) there.
Also, the highlighting is worse in the output as far as how it looks. I've used Prism.js in the past and it worked great.
Here's another example where it works correctly if it's inside a class declaration:
Please sign in to leave a comment.
Comments
0 comments