Answer by zcoop98 for Goodbye, Prettify. Hello highlight.js! Swapping out our...
status-bydesign(Manually changing this from bug to status-bydesign given my discoveries documented below.)I searched around, but I couldn't find any previous posts referencing regular expressions....
View ArticleAnswer by Konrad Rudolph for Goodbye, Prettify. Hello highlight.js! Swapping...
C code in a question tagged c and cpp is misdetected as markdown.What?!typedef float pnt[3];void count(pnt const * pnts, const int n, unsigned cnt[8]) { for(int i=0; i<8; ++i) cnt[i] = 0; for(int...
View ArticleAnswer by noslenkwah for Goodbye, Prettify. Hello highlight.js! Swapping out...
I ran across the following code in this question.You can see the coloring is not formatted properly:<form method="post"><div class="form-group"><label...
View ArticleAnswer by Erwin Brandstetter for Goodbye, Prettify. Hello highlight.js!...
More formatting issues with SQLhightligh.js has proper support for PostgreSQL and PL/pgSQL.Still, my code is messed up on a regular basis. Like in this example (I ended up with a workaround using...
View ArticleAnswer by JW0914 for Goodbye, Prettify. Hello highlight.js! Swapping out our...
status-bydesignPowerShell and batch syntax highlighting is off all around and neither works correctly (left: Stack Exchange; right: Microsoft's Visual Studio Code)It appears batch and PowerShell syntax...
View ArticleAnswer by Anis Ladram for Goodbye, Prettify. Hello highlight.js! Swapping out...
Bash highlighting seems to be broken.echo "$(true)"echo $(true)As you can see, the command in the first subshell is not highlighted, presumably due to the quotes, but the second is (no quotes). Both...
View ArticleAnswer by Ecuador for Goodbye, Prettify. Hello highlight.js! Swapping out our...
status-completedNo Objective-C highlightingI commented to say how disappointing highlighting of Objective C is, but I was told to open a bug as it is not an issue of Highlight.js, but of Stack Overflow...
View ArticleAnswer by William Robertson for Goodbye, Prettify. Hello highlight.js!...
There is something a bit odd with PL/SQL (or SQL - I'm not sure whether PL/SQL is actually supported. It seems to be sadly unpopular with syntax highlighting plugins.)A quoted SQL statement seems to...
View ArticleAnswer by CertainPerformance for Goodbye, Prettify. Hello highlight.js!...
bugQuestions which do not have any tags associated with any languages do not get their code blocks automatically highlighted at all. Examples:Preloader is not working on Angular universal SSR appHow to...
View ArticleAnswer by Peter Duniho for Goodbye, Prettify. Hello highlight.js! Swapping...
Per advice at How does the highlight.js change affect Stack Overflow specifically?, I am copying my original bug report to this Q&A.Because I first noticed this behavior coincidental with an update...
View ArticleAnswer by Antti Haapala for Goodbye, Prettify. Hello highlight.js! Swapping...
C is not supportedThere is no C syntax highlighter in highlight.js. highlight.js uses the C++ highlighter for C, and it is a nightmare. It actually makes code harder to read than not having any...
View ArticleAnswer by Rmano for Goodbye, Prettify. Hello highlight.js! Swapping out our...
LaTeX highlight in TikZ environments is wrong.Look at https://tex.stackexchange.com/a/564540/38080:It seems that a newline in a macro arguments desynchronize the parser...Thanks!PS: could be...
View ArticleAnswer by Patrick Artner for Goodbye, Prettify. Hello highlight.js! Swapping...
Display bug in an answer to a post with python - which should get it Python-like coloring. A string is colored in two different ways:
View ArticleAnswer by Larnu for Goodbye, Prettify. Hello highlight.js! Swapping out our...
Syntax highlighting isn't always present in the entire code blockThis is an odd one. I've noticed this in a few languages, not just SQL, but sometimes the highlighting just doesn't work on the entire...
View ArticleAnswer by 1201ProgramAlarm for Goodbye, Prettify. Hello highlight.js!...
bugI noticed that on this question the syntax highlighting for some C++ code stops partway thru.In particular, it gets tripped up by this bit of code:template <class T>ostream&...
View ArticleAnswer by Dingus for Goodbye, Prettify. Hello highlight.js! Swapping out our...
Ruby numeric literals are not highlighted as expectedIn Ruby, float, rational, and complex literals render like so:3.5e42r6iThe expected behaviour is for the entire literal to be highlighted. For...
View ArticleAnswer by camickr for Goodbye, Prettify. Hello highlight.js! Swapping out our...
Java highlighting differenceI don't know what the exact rules was, but in the old highlighting any word in the Java code starting with a capital letter was highlighted.I found this a nice feature since...
View ArticleAnswer by David Carlisle for Goodbye, Prettify. Hello highlight.js! Swapping...
In LaTeX code, @ should be treated as a letter. There are any number of examples on tex.stackexchange, butUndefined control sequence on \beamer@leftmargin...
View ArticleAnswer by Matthew FitzGerald-Chamberlain for Goodbye, Prettify. Hello...
status-bydesignC# Stack Trace in Log File Formatting is WrongSee What does "Keyword not supported: 'endpoint'" mean and how does it relate to the "messaging" connectionstring?This is a log file that...
View ArticleAnswer by Larnu for Goodbye, Prettify. Hello highlight.js! Swapping out our...
status-bydesignWill the default code markdown be changed to code fences?Currently if you click the code ({}) icon in the editor, then the selected text is still indented (or unindented) by 4 white...
View Article