Linked Questions
85 questions linked to/from Syntax highlighting language hints
629
votes
1
answer
133k
views
What is syntax highlighting and how does it work?
I noticed that sometimes my code gets highlighted in different colors when rendered.
What is syntax highlighting?
How does it work?
Why isn't my code being highlighted correctly?
How do I report a ...
156
votes
1
answer
32k
views
Interface options for specifying language prettify [duplicate]
I'm the maintainer for Google Code Prettify.
Markup authors can specify the language for source code, but not markdown authors.
Are the SO admins interested in a way of doing this?
If so, might the ...
18
votes
1
answer
4k
views
Markdown, how can I set the language highlighting display in Stack Overflow to ruby? [duplicate]
Possible Duplicate:
Syntax highlighting language hints
Interface options for specifying language prettify
How do I set the language being highlighted in Stack Overflow to be colored and ...
17
votes
2
answers
901
views
Is it possible to have a code block that isn't highlighted? [duplicate]
There are some languages that get highlighted incorrectly. Is it possible to specify a code block that does not have any highlighting when it gets displayed?
Here is an small example of CSS that is ...
6
votes
1
answer
2k
views
Why doesn't SO syntax-highlight my PHP code? [duplicate]
Possible Duplicate:
Syntax highlighting language hints
Changes to syntax highlighting
I just asked a question on SO Facebook API scope and it's refusing to do a syntax highlight on my PHP code.
...
7
votes
1
answer
2k
views
Does Stack Exchange have syntax highlighting for Java stack traces? [duplicate]
Is there a syntax highlighting for Java stack traces. Any tips about people editing posts looking at that?
12
votes
3
answers
390
views
Allow `class` attribute for `<code>` tag [duplicate]
Possible Duplicate:
Syntax highlighting hints
As we all know, prettify.js, which is used by Stackoverflow for syntax highlighting, allows the specification of the intended language. However, we ...
1
vote
1
answer
196
views
Python syntax highlighting breaks on quotation mark [duplicate]
A quote mark (') in a comment breaks further highlighting. Example: Is there a tool to check database integrity in Django?
0
votes
2
answers
52
views
How to fix this coloring problem? [duplicate]
I have a question that have 5 tags, and c is not one of them. Without c tag, the code block is colorless and harder to read. Other 5 tags are way more important than c tag, therefore I cannot replace ...
1
vote
0
answers
247
views
Is it possible to explicitly tell Stack Overflow the language of the code block you are including? [duplicate]
Possible Duplicates:
stackoverflow syntax highlighting
Syntax highlighting hints
Stack Overflow awesomely detects what language a code block is and syntax highlights it accordingly. But ...
1
vote
0
answers
175
views
Allow declaration of programming language for syntax highlighting [duplicate]
Possible Duplicate:
Syntax highlighting hints
The parser for code blocks has some kind of heuristic (the "Prettify" library, IIUC) for guessing what programming language syntax to use for ...
0
votes
1
answer
105
views
Is there a way to suggest the language used for the code snippet to highlight? [duplicate]
Possible Duplicate:
Syntax highlighting language hints
Sometimes it happens that the snippet could be interpreted to be in a programming language, when really it's another one. If the snippet is ...
1
vote
0
answers
25
views
syntax highlighting for code blocks in answers to general questions [duplicate]
A while ago I flagged this answer for moderator attention, because the code example has no syntax highlighting. My flag got declined because - quote from the moderator:
Unfortunately, not in a way ...
57
votes
23
answers
38k
views
Changes to syntax highlighting
locked for the history - please post bugs and feature-requests separately.
-Shog9
We're changing the way syntax highlighting is done on the Stack Exchange engine.
As you probably know, we use ...