Formatting source code using jQuery

Does anyone know if there is a jQuery plugin for formatting code, XML or HTML?

I am showing the user some code on the html page. I use google prettify to color the syntax, but also like to have some indentation and line breaks. any suggestions?

+3
source share
2 answers
+6
source

Source: https://habr.com/ru/post/1750504/


All Articles