Open utterances-bot opened 4 years ago
I was able to put Prism.js to good use for my blog thanks to this. Really useful, even though this was published quite a long while ago. Thanks Tania!
Thank you for providing such content, I'm able to use prism.js too. But, how can I highlight c++ code using prism.js. whenever I try to type #include<iostream>
inside <code>
tag, it treating <iostream>
as a tag too.
i always want to add a code section to my portfolio. but after this article , its notmy nightmare anumore . thank you for this resource, BTW , I LOVE YOUR blog design.
Adding Syntax Highlighting to Code Snippets in a Blog or Website | Tania Rascia
I've received a few requests on how to highlight the syntax of snippets of in a blog like I have. Here is an example snippet of SCSS code…
https://www.taniarascia.com/adding-syntax-highlighting-to-code-snippets/