Quantcast
Channel: Goodbye, Prettify. Hello highlight.js! Swapping out our Syntax Highlighter - Meta Stack Exchange
Browsing all 39 articles
Browse latest View live
↧

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 Article


Answer 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 Article


Image may be NSFW.
Clik here to view.

Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article


Image may be NSFW.
Clik here to view.

Answer 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 Article

Answer 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 Article

Answer 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 Article

Answer 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 Article


Answer 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 Article

Answer 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 Article


Answer 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 Article

Image may be NSFW.
Clik here to view.

Answer 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 Article


Answer 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 Article

Image may be NSFW.
Clik here to view.

Goodbye, 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
Browsing all 39 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>