Linked Questions

377 votes
11 answers

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 ...
Rowland Shaw's user avatar
  • 7,333
143 votes
3 answers

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 ....
Alex Essilfie's user avatar
53 votes
1 answer

How can I specify a language in a code block? [duplicate]

Possible Duplicate: Interface options for specifying language prettify I don't know how Markdown recognizes which language to use in code blocks. Sometimes it doesn't guess right. Can I specify a ...
Lenik's user avatar
  • 665
29 votes
1 answer

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 ...
user's user avatar
  • 606
17 votes
2 answers

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 ...
Rodrigo Queiro's user avatar
21 votes
3 answers

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....
Sake's user avatar
  • 311
16 votes
1 answer

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 ...
kapex's user avatar
  • 1,951
1 vote
3 answers

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 ...
Wolf's user avatar
  • 736
11 votes
1 answer

Java syntax highlighting not shown [duplicate]

This question does not show any syntax highlighting although the code seems ok to me. What is the cause of it? Tested with FF 3.6.15 and IE 8.0.
Matthias's user avatar
  • 325
8 votes
2 answers

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 ...
Lukas Eder's user avatar
  • 3,371
12 votes
1 answer

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 ...
Diego Barros's user avatar
5 votes
2 answers

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 ...
Berker Yüceer's user avatar
3 votes
2 answers

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?...
Alexey Romanov's user avatar
4 votes
1 answer

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 ...
user avatar
4 votes
1 answer

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 ...
Seki's user avatar
  • 496

15 30 50 per page
2 3 4 5