Linked Questions

371
votes
11answers
54k views

Syntax highlighting language hints [duplicate]

Do you think it would be worthwhile to provide hints as to what language to use for the syntax highlighting? Sometimes I find the highlighting on SQL or VB.NET answers is more distracting than ...
133
votes
3answers
17k views

Manually specify language for syntax highlighting [duplicate]

This is a follow-up to a question I answered earlier (Changes to syntax highlighting). For most questions that have more than one language-related tag and those with fuzzy languages (for instance ....
43
votes
1answer
12k views

How to specify a language in code block? [duplicate]

Possible Duplicate: Interface options for specifying language prettify I don't know how Markdown recognize which language used in the code blocks. But sometimes it doesn't guess right.
14
votes
2answers
15k views

Stack Overflow syntax highlighting [duplicate]

When using SO's code blocks, can you control how syntax highlighting is performed? Many times, I've pasted (for example) some shell output into an SO answer, and the syntax highlighting has been ...
21
votes
3answers
882 views

VB.NET/VBScript syntax highlighting does not properly support comments [duplicate]

(Descriptions are inside the code samples) Take a look at this code Public Sub Show() System.Console.WriteLine("Hello") ' Comment here will fail subsequencing syntax highlighting System....
16
votes
1answer
12k views

Where is the list of language names supported by the markdown fenced code blocks? [duplicate]

Related to Implement ```-style (fenced) Markdown code blocks On this answer I used ```makefile and it is "working" the highlighting: However, on this other answer, I am also using ```makefile and it ...
0
votes
3answers
1k views

How can I prevent syntax higlighting in markdown? [duplicate]

When I wished to show example data, I used the code block syntax (4 spaces indentation after an empty line), but the data was rendered like a programming language. Can I prevent the syntax ...
11
votes
1answer
2k views

How to handle regex syntax highlighting? [duplicate]

Many questions about regex include code blocks with language agnostic, POSIX compatible patterns, using default prettifying. (example) This looks kind of ugly and is confusing, since some parts are ...
8
votes
2answers
479 views

Why is there no syntax highlight for SQL merge statements? [duplicate]

It seems, that Stack Overflow doesn't recognise the SQL:2003/SQL:2008 MERGE statement, as can be seen in my answer here: Oracle: Updating a table column using ROWNUM in conjunction with ORDER BY ...
12
votes
1answer
385 views

Elixir Syntax Highlighting [duplicate]

Can we please have syntax highlighting for Elixir? I've had a look at the editor advanced help and Google's library documentation to find that it's not yet supported. Nonetheless I thought I'd ask ...
5
votes
2answers
209 views

Syntax Highlighting Doesn't Recognize Line Continuations Within VB6 Comments [duplicate]

I've run into some unexpected syntax highlighting mistakes while I was asking a question about VB6. When I use _ after using ' to add comments about my code I see that _ does not work within ', but ...
3
votes
2answers
229 views

Syntax highlighting is inconsistent [duplicate]

In this question, why is ElementByElement highlighted as a method, but ElementByElement2 isn't? EDIT: To submit a new issue to Prettify, I'd like to know what version Stack Overflow uses. 21-May-2009?...
4
votes
1answer
870 views

Syntax highlighting and non-ASCII characters [duplicate]

I think Markdown google-code-prettify has some incorrect lexical rules for Java (and possibly other languages). It correctly identifies this code block from SO question 1485832 as being written in ...
5
votes
1answer
992 views

List of languages for syntax highlight [duplicate]

When putting some code sections into SO questions, the system tries to detect the language and automagically colorizes the code but sometimes if the excerpt of code is small enough it cannot get the ...
2
votes
1answer
682 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 ...

15 30 50 per page
1
2 3 4 5
11