3 ms·
How does this compare with Prettify?
by smoyer 12y ago
How does this compare with Prettify?
- jongalloway2 12y agoI did a comparison of Syntax Highlighter, Prettify and Highlight.js for weblogs.asp.net. I ended up preferring Highlight.js. My notes: • 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-1-and-web-api-2-1-part-4-web-api-help-pages-bson-and-global-error-handling 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.