• SyntaxHighlighter
generates tons of nested tables, doesn’t work well with Bootstrap (overflows into right rail)
• Google Prettify
Worked okay, but kind of ugly. Had to use jQuery to apply “prettyprint” class to all pre elements.
• Highlight.js
Easy to set up, lots of themes, seems pretty quick, regular updates
Sample post: http://weblogs.asp.net/jongalloway/looking-at-asp-net-mvc-5-...
Highlight.js + styles are hosted on cdnjs, which makes it easy to host on a blog.
• SyntaxHighlighter
generates tons of nested tables, doesn’t work well with Bootstrap (overflows into right rail)
• Google Prettify
Worked okay, but kind of ugly. Had to use jQuery to apply “prettyprint” class to all pre elements.
• Highlight.js
Easy to set up, lots of themes, seems pretty quick, regular updates
Sample post: http://weblogs.asp.net/jongalloway/looking-at-asp-net-mvc-5-...
Highlight.js + styles are hosted on cdnjs, which makes it easy to host on a blog.