Answer by kriegaex for Goodbye, Prettify. Hello highlight.js! Swapping out...
status-completedThere are two problems with Groovy syntax highlighting:The old syntax was not automatically converted to the new syntax, i.e. thousands of Groovy-related questions and answers lost...
View ArticleAnswer by GSerg for Goodbye, Prettify. Hello highlight.js! Swapping out our...
status-completedVisual Basic code is no longer highlightedThe error in the console is:Could not find the language 'vb', did you forget to load/include a language module?Falling back to no-highlight...
View ArticleAnswer by user312421 for Goodbye, Prettify. Hello highlight.js! Swapping out...
supportWhat are we supposed to do if syntax highlighting doesn't turn on at all?In a question with a very simple code block, with only the c# tag, this is what I see:For the block of...
View ArticleAnswer by Larnu for Goodbye, Prettify. Hello highlight.js! Swapping out our...
SQL Formatting issuesAs I almost exclusively stick to SQL Server related tags, I've picked up on a few issues/features with the sql language formatting.Hash character incorrectly interpreted as comment...
View ArticleAnswer by Lionel Rowe for Goodbye, Prettify. Hello highlight.js! Swapping out...
Will lazy loading of syntaxes be supported?This would allow for syntax highlighting of less common languages that don't need to be eager-loaded on every page load.Here's a proof-of-concept that doubles...
View ArticleAnswer by Josh Goebel for Goodbye, Prettify. Hello highlight.js! Swapping out...
Current maintainer of Highlight.js here, though I'd add a few quick comments.highlight.js tends to not highlight punctuation, which makes it a bit less colorful than other highlighters. This is...
View ArticleAnswer by Peter Cordes for Goodbye, Prettify. Hello highlight.js! Swapping...
Apparently asm / assembly has never(?) been supported as a syntax-highlighting language, and the somewhat decent highlighting we got in the past was from auto-detection (presumably as some other...
View ArticleAnswer by b3m2a1 for Goodbye, Prettify. Hello highlight.js! Swapping out our...
What to do if highlight.js supports a language but Stack Exchange doesn't?There's an entire Mathematica StackExchange, and so Mathematica syntax highlight is clearly very important to us. But when I...
View ArticleAnswer by Bohemian for Goodbye, Prettify. Hello highlight.js! Swapping out...
Does highlight.js support emphasis in blocks formatted as "code" (ie indented 4 spaces)?Paraphrasing an MSE question:In-code highlighting (anything will do), would be a great way to emphasise the...
View ArticleAnswer by Arnauld for Goodbye, Prettify. Hello highlight.js! Swapping out our...
I've just tried the following piece of JavaScript code (from this answer of mine in Code Golf) because Google Prettify was not parsing the regular expression followed by an inline comment correctly....
View ArticleAnswer by Sonic the Anonymous Hedgehog for Goodbye, Prettify. Hello...
bugstatus-bydesign<!-- language-all: lang-none --> hint doesn't seem to work anymoreThis post has a <!-- language-all: lang-none --> hint at the top of the post to prevent all the code...
View ArticleAnswer by Sonic the Anonymous Hedgehog for Goodbye, Prettify. Hello...
Will the <!-- language: [language] --> hint be disappearing?Back when SE was switching to CommonMark, we were told that the old <!-- language: [language] --> syntax had been deprecated and...
View ArticleAnswer by user361230 for Goodbye, Prettify. Hello highlight.js! Swapping out...
We have been waiting for Verilog and SystemVerilog (SV) highlighting for a long time. Apparently we will have Verilog support with highlight.js, but SV will continue to be unsupported. Still much...
View ArticleAnswer by jtbandes for Goodbye, Prettify. Hello highlight.js! Swapping out...
😄 Thanks for doing this! I'm happy about this outcome, as I was a major proponent of switching to highlight.js back in 2016.Great! …but what changed?To satisfy my own curiosity, I'm wondering if you...
View ArticleAnswer by TRiG for Goodbye, Prettify. Hello highlight.js! Swapping out our...
There has been times that I've turned off code highlighting with <!-- language: lang-none --> because Prettify was getting it wrong, and no highlighting is better than wrong highlighting. (The...
View ArticleAnswer by Olivier Dulac for Goodbye, Prettify. Hello highlight.js! Swapping...
I'd like to say that I appreciate this post.It is clear, very informative, very detailled, and to me shows that person's concern for the community.Of course, there will always be different opinion on...
View ArticleAnswer by Jerry Coffin for Goodbye, Prettify. Hello highlight.js! Swapping...
I found it rather frustrating that I couldn't easily see how the before/after pictures differed, so I did a bit of cutting and pasting so I could look at the before/after side by side to compare them...
View ArticleAnswer by Sonic the Anonymous Hedgehog for Goodbye, Prettify. Hello...
Can Stack Exchange please update to newer versions of Highlight.js on a regular cycle, rather than only on request?As I said in my prior post reporting Google's discontinuation of Prettify, the process...
View ArticleGoodbye, Prettify. Hello highlight.js! Swapping out our Syntax Highlighter
Update 2020-09-24This is now live network-wide.UpdateThis is now live on Meta Stack Exchange and Meta Stack Overflow. Any bugs and feedback can be posted here as an answer.I’m Ben and I’m a dev on the...
View Article