0
How to use highlight js library?
How can I use highlight.js in website's code and text area. How to initialize highlight.js library.
4 ответов
+ 2
+ 1
Coder-Rohit[{(∞)}]
I have created an example with highlight JS for you.
https://code.sololearn.com/Wp3Siilk26Ua/
To change the theme, you need to change the linked stylesheet name. In this page there is a list of supported themes.
https://highlightjs.org/static/demo/
I used Agate theme in my example.
0
How can I control highlight.js theme