All Questions
Tagged with syntax-highlighting status-declined
11 questions
61
votes
0
answers
2k
views
Support Kotlin in code highlighting [duplicate]
The relevant PR was merged into code-prettify: https://github.com/google/code-prettify/issues/491
As per instructions, I'm asking to deploy it to the network and assign to kotlin tag.
4
votes
0
answers
64
views
Why is syntax highlighting not working for my Perl script? [closed]
In this post I added a perl script. This script works and is correctly highlighted in all the editors that I tested in. Yet still highlighting doesn't seem to work as expected on SO. From this line ...
4
votes
1
answer
204
views
Do we auto-detect and highlight CSS for questions tagged CSS?
https://stackoverflow.com/review/suggested-edits/2331277
Wasn't sure why this suggested edit was necessary. The only tag is css so I thought this should be picked up by our algos.
Tagging as bug ...
4
votes
2
answers
107
views
Prettify claims the whole post body
The first edition of this question: https://stackoverflow.com/q/15692844/11683
Seems like the question text is all prettified despite it's not formatted as all code.
Does not happen in the preview.
...
5
votes
2
answers
87
views
Incorrect syntax highlighting with non-ASCII characters [duplicate]
The C# highlighter (and possibly others) chokes on non-ASCII characters in class names, as can be seen in this post:
Trouble with if circulating
EDIT: Prettify bug report submitted.
2
votes
1
answer
168
views
Language hints for quoted code
In this post I tried to add language hints for syntax formatting to code blocks quoted from the question. However, it seems they won't be honoured if I write them as a comment in my own part of the ...
2
votes
1
answer
143
views
String not displaying correctly [duplicate]
I just answered my own question here (GeoPheonix answered in the comments but didn't provide a full answer), and the string in the code isn't displaying correctly:
This may seem like a minor nitpick ...
10
votes
3
answers
1k
views
Using Safari 5.1.4, code blocks are empty on Stack Overflow
Code blocks on Stack Overflow (lines beginning with 4 whitespaces) with Safari v5.1.4 are empty/blank (even with the inspector, indicating it's populated via javascript). If I use another browser (i....
1
vote
1
answer
120
views
'output' keyword isn't recognized by the syntax highlighter in SQL code blocks [duplicate]
The highlighting for SQL code blocks doesn't appear to recognize the keyword 'output'. Please see Showing column twice in a query, second time showing data post update/set for an example. Note that '...
3
votes
1
answer
176
views
Syntax-highlighting doesn't detect virtual as a keyword for C#? [closed]
The syntax-highlighting functionality for code doesn't detect virtual as a keyword for C#.
Note: This is true even if you add the hint
<!-- language: lang-cs --> as per these instructions.
It ...
-3
votes
4
answers
2k
views
Can we enable syntax highlighting for code in comments?
There is no syntax highlighting nor any ways to emphasize code written in comments.
I have noticed that this is one of the key factors leading users to misunderstand one another.
I use the backticks ...