+ 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.

30th Dec 2020, 10:17 AM
Krish
Krish - avatar
9 odpowiedzi
+ 8
Krish There are many more library for syntax highlighting.
30th Dec 2020, 10:22 AM
A͢J
A͢J - avatar
+ 7
Ayush Kumar not that i am asking about proper highlighting like we have in code playground
30th Dec 2020, 11:20 AM
Krish
Krish - avatar
+ 5
Using <mark> tag to highlight any thing in web page.
30th Dec 2020, 11:10 AM
Karan
Karan - avatar
+ 5
KARAN ~ 😉😉😉 no bro i am not asking about text highlighting rather is am asking about syntax/code highlighting
30th Dec 2020, 11:15 AM
Krish
Krish - avatar
+ 5
Ayush Kumar I want to provide as a text so that people can select and copy
30th Dec 2020, 11:26 AM
Krish
Krish - avatar
3rd Jan 2021, 2:35 PM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 3
I Am Groot ! Please can you provide references with doc links
30th Dec 2020, 10:24 AM
Krish
Krish - avatar