Linked Questions

2 votes
1 answer
767 views

SQL syntax highlighting bug in StackOverflow [duplicate]

StackOverflow engine treats backslash character \ as an escape symbol for string literals. But backslash is NOT an escape symbol in SQL. So, simple statement select '\' from dual produces incorrect ...
Egor Skriptunoff's user avatar
-2 votes
1 answer
219 views

Syntax Highlighter for Java [duplicate]

It seems the syntax highlighter is not able to handle Java. Any idea how to help fix this? A sample code is below, and link1 and links2 in stackoverflow. try (Statement stmt = con.createStatement())...
Ahmed Ashour's user avatar
1 vote
1 answer
977 views

XML Syntaxhighlight highlights elements in CDATA [duplicate]

If you manually declare code to be XML, code within CDATA is still highlighted, even though it should be treated as text. Example: <element test="test"> <![CDATA[<font size="2">&...
Kevin Ji's user avatar
  • 1,323
13 votes
1 answer
271 views

Syntax highlighting for C doesn't properly recognize `restrict` as a keyword [duplicate]

And while we're at it, C11 adds some keywords like _Atomic as well. Is this the right way to submit requests for addition, or would it be better to ask for it in the 'Google Code Prettify' project? ...
Johan Bezem's user avatar
3 votes
2 answers
157 views

CMD `::` autoformats badly [duplicate]

From How to run a PowerShell script within a Windows batch file There's an idiom in CMD scripts to use :: as a comment delimiter. (: means a label, so :: gets ignored.) I use it because I think it's ...
Jay Bazuzi's user avatar
13 votes
1 answer
403 views

Please add support for PowerShell syntax highlighting [duplicate]

StackOverflow currently does not support syntax highlighting for PowerShell. Please add support for this in a future revision.
Trevor Sullivan's user avatar
3 votes
1 answer
144 views

Code containing HEREDOC is not highlighted correctly [duplicate]

Not sure if this was brought before but I noticed on several occasions that code containing HEREDOC syntax will not be correctly highlighted. Example at PHP domdocument if statement for when img tag ...
Gordon's user avatar
  • 7,074
10 votes
1 answer
178 views

Fix for $# code color highlight [duplicate]

I am a Perl coder and I would like to ask Stack Overflow to fix code color highlights for # comments. It works properly for real comments, such as # this is a comment but when $# is in code, such ...
user avatar
9 votes
1 answer
115 views

How to add syntax highlighting for new language [duplicate]

Is there already a standard way for introducing syntax highlighting for a language (and tag) that did not previously have it? I would like to have syntax highlighting for the isabelle tag, since code ...
chris's user avatar
  • 221
2 votes
2 answers
221 views

Syntax highlighting for MySQL not working [duplicate]

See: https://stackoverflow.com/posts/7300401/revisions It doesn't do highlighting when I specify <!-- language: lang-mysql --> (or if the question is tagged mysql), but it will work fine if I ...
NullUserException  อ_อ's user avatar
10 votes
1 answer
419 views

No syntax highlight for Fortran? [duplicate]

I was checking out this question on SO, and noticed that there is no syntax highlighting for the code snippet. I realise that Fortran is a pretty obscure language, especially on SO, so I don't really ...
Some programmer dude's user avatar
6 votes
3 answers
179 views

Would it be possible for the syntax highlighter to allow for SQL capitalization? [duplicate]

I've noticed that the syntax highlighter for code samples does not work with capitalization for SQL. I just posted a question on SO and had to spend a couple extra seconds to modify it to get the ...
RSolberg's user avatar
  • 16.2k
0 votes
3 answers
223 views

WMD/Prettify does not support dot character for XML elements [duplicate]

The WMD (or possibly Prettify) does not support the dot (.) character for elements, despite it being part of the XML Specification. This comes up on StackOverflow with XAML related questions. Below ...
Richard Szalay's user avatar
1 vote
1 answer
220 views

Keyword 'let' from LINQ syntax is not supported by syntax highlighting [duplicate]

I found that neither on SO. nor here, on meta, LINQ syntax keyword let isn't being highlighted: from f in db.Foo let b = f.Bar where b.Count == 1 select new FooBar(b); Please add.
abatishchev's user avatar
  • 3,015
4 votes
2 answers
168 views

First letters of XML attributes not colored correctly if capitalized [duplicate]

If the first character(s) of an XML attribute are capitalized, they don't get colored in the usual attribute way: <element InitialCap="1" initialLower="2" ALLCAPS="3" SOMEcaps="4" /> It would ...
Chris Farmer's user avatar

15 30 50 per page
1
2
3 4 5
13