+ 11
[Solved] Way to highlight syntax in web codes.
How to highlight the syntax in a web code? Like if I am making a lesson type something then I need to provide the code so for that how can I highlight the given code. PS. For people suggesting me highlight js. The docs seems horrible and scary. If you find a readable doc then please give me the link.
12 Réponses
+ 8
Krish
There are many more library for syntax highlighting.
+ 7
Krish
https://ourcodeworld.com/articles/read/140/top-5-best-code-syntax-highlighter-javascript-plugins
You can go on their website.
+ 7
Ayush Kumar not that i am asking about proper highlighting like we have in code playground
+ 5
Using <mark> tag to highlight any thing in web page.
+ 5
KARAN ~ 😉😉😉 no bro i am not asking about text highlighting rather is am asking about syntax/code highlighting
+ 5
Ayush Kumar I want to provide as a text so that people can select and copy
+ 5
+ 3
I Am Groot ! Please can you provide references with doc links