Javascript code formatting and marker

I am looking for a jQuery plugin that can take a line of code as input and will use formatting and highlights to make the code understandable. Like jsfiddle.net.
At the moment, I have found many sites such as jsbeautifier.org. But I need a separate jQuery plugin that can handle my code
Please help me with this.

+7
source share
6 answers

9 useful javascript syntax scripts for syntax . There I was looking for him for you. 3 of them are based on jQuery.

+7
source

I am using codemirror.
http://codemirror.net/

its easy and convenient.

+4
source

I am using Highlight.Js

+3
source

If you want to change the syntax in a specific style or just check the style, look at the code artist

A JavaScript designer who can infer a coding style and transform code that reflects that style. You can also specify style settings explicitly in various ways.

+1
source

you can use jstidy . and if you use a visual studio, you can directly copy the code and paste it into the designer’s view. It generates the required styles.

0
source

I checked the pages associated with the other answers and found that they were sorely lacking.

After doing a little research and cleaning my web pages, I found one that I think is superior to the rest.

Snippit is based on jQuery, including a copy function (with a clipboard plugin), line numbers, custom styles, etc.

Let me know what you think.

0
source

All Articles