Skip to content Skip to sidebar Skip to footer

Is There A Plugin To Display Html Code Inside My Web Page

I want to display large chunk of LESS file in my page. I want it to look as nice as possible so that users who see it will read it easily. stackoverflow let me display it (for exam

Solution 1:

StackOverflow uses Prettify to do it's syntax highlighting.

It should work for what you want.

Solution 2:

SyntaxHighlighter is another really popular one. It's also available as a plugin on many platforms and supports a lot of languages.

http://alexgorbatchev.com/SyntaxHighlighter/

Solution 3:

Take a look at https://highlightjs.org/. This provides a variety of themes to highlight code written in almost every language.

Post a Comment for "Is There A Plugin To Display Html Code Inside My Web Page"