All Questions
Tagged with code-formatting status-declined
17
questions
-6
votes
1
answer
254
views
Why can't the title be formatted?
I am just wondering why it is not possible to format the title - at least the code formatting would be useful sometimes.
-8
votes
1
answer
129
views
Smarter code indentation
I know we have the control-K indent-by-4 operation. Unfortunately that doesn't do anything about the often horrible indentation within the querant's code.
How Hard Would It Be to add a minimal "...
0
votes
2
answers
137
views
Why SO recently began removing formatting whitespace within code blocks?
Recently I've noticed that formatting whitespace in code blocks appears to be removed:
line1 - next line is prepended by six spaces
line2 supposed to be indented but isn't
which the graphic ...
-4
votes
1
answer
102
views
Add code blocks to alternate image text
I often find the need to post an image in an answer to help summarize my point. I have used these before to demonstrate things such as CSS properties, as shown in this answer. I added the code that ...
2
votes
2
answers
61
views
Comments don't highlight spaces in code over newlines
I recently noticed that comments don't highlight spaces over newlines in code blocks.
For example, I posted a comment containing ", ".join(), and then, when displayed, it looked like this:
As you ...
20
votes
1
answer
703
views
Add retro filters for code
Triggered by a question where the code was provided via a link to Instagram and by the existence of the code hosting service Instacode, I’d like to suggest implementing hipstery image filers for code ...
2
votes
1
answer
165
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
2
answers
203
views
Missing indentation for source code on IE7
The source code displays for StackOverflow.com are not being displayed with any indentation when viewed with IE 7. Cut-and-paste to a text editor works okay, adding the necessary spaces for ...
0
votes
2
answers
89
views
IE version script comment blocks are not formatted by the code styler
This question deals with IE specific code blocks that work off special html comments. Is there any way that the code formatted could recognize these special format codes and still comment the ...
7
votes
1
answer
127
views
Have the "Code sample" button work around the "Code placed after a list item" bug
So I've read that code blocks not working after a list item thing is due to an ambiguity in the spec and this kind of makes sense, however there is no ambiguity in what the "Code sample" button means:
...
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 ...
10
votes
1
answer
1k
views
Why is my Stack Exchange code formatting considered wrong? [closed]
I want to ask a question on Stack Overflow, but it keeps telling:
Oops! Your question couldn't be submitted because:
Your post appears to contain code that is not properly formatted as code. Please ...
-2
votes
2
answers
214
views
Quick code format option
To future readers
I agree, this deserves its current low ranking. You are free to downvote it again if you wish, but I don't believe it will actually accomplish anything as it is already a -6.
...
0
votes
2
answers
129
views
Allow selection of font used for code segments
I have several programming fonts installed on my computer and would hate to have to muck about with them to have SO display code segments in my favourite one.
33
votes
8
answers
1k
views
Formatting of inline code is ugly and can result in river-like patterns when used frequently
This has bothered me for a while... Ever since the bulky padding and gray background were added to <code> elements, really. But I kept hoping I would get used to it...
...I didn't. It's ugly, it'...