how can I enable syntax highlighting on my code editor.I can't enable using syntax highlighting api | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can I enable syntax highlighting on my code editor.I can't enable using syntax highlighting api

https://code.sololearn.com/Wi1dOMPXVzP8/?ref=app

23rd Jun 2022, 12:21 PM
Saddam Hussain
Saddam Hussain - avatar
6 Answers
+ 2
Google Syntax highlighting API. Prism is a good one I've used it before. There are many.
23rd Jun 2022, 2:15 PM
Chris Coder
Chris Coder - avatar
+ 1
Chris Coder my friend I think you aren't understanding I want to highlight the code in the textarea when I input code on the textarea it need to highlight
1st Jul 2022, 6:38 AM
Saddam Hussain
Saddam Hussain - avatar
0
will you please help me I can't
1st Jul 2022, 12:38 AM
Saddam Hussain
Saddam Hussain - avatar
0
Chris Coder please you make this code highlight
1st Jul 2022, 2:22 AM
Saddam Hussain
Saddam Hussain - avatar
0
Chris Coder it is not working you check it and it is saying uncaught line in 35
1st Jul 2022, 2:29 AM
Saddam Hussain
Saddam Hussain - avatar
0
No i understand that but how do you intend to make it work with the API? I showed you how to do it in the document. Maybe you can program it the way you want it?
1st Jul 2022, 6:40 AM
Chris Coder
Chris Coder - avatar