Why not upload images of code/errors when asking a question?
I am new to Stack Overflow, and I have asked about 5 questions so far. I have uploaded images of my code on most of my questions. On two separate occasions, two different users advised me not to upload...
View ArticleStack Overflow rejecting well-formatted code in question
Stack Overflow is rejecting a post that I am trying to create regarding Python. It complains that my post has improper code formatting, for reasons that I don't understand, even though the preview...
View ArticleCan I force syntax highlighting for a certain language?
I notice that stackoverflow automatically adds syntax highlighting to code blocks. I hate this. It always applies the wrong language's highlighting to the wrong code.Example? The last question I've...
View ArticleThe code editor is italicizing some code blocks [duplicate]
Example here:I think it might have something to do with the arrow notation, since the italicized text didn't appear until I put that in.
View ArticleLiteral tab in code block renders as four spaces
I think this used to work correctly before because I have memories of testing this when responding to makefile questions before, where proper tabs are crucial. (That would have been before the switch...
View ArticleBug in JavaScript code colors [duplicate]
The following JavaScript code:let hsv2hsl = (h,s,v,l=v-v*s/2, m=Math.min(l,1-l)) => [h,m?(v-l)/m:0,l];colors are wrong (starting from /2 which is interpreted as comment):Light mode:Dark...
View ArticleEdit shows expected code with a different format than what it really is
I'm using Google Chrome on Android 10 - Samsung Galaxy A30s.When looking at this questionWe can see the first code block has a specific indentation. Then, when clicking to editThe expected result looks...
View ArticleLong lines in code break layout of revisions page [duplicate]
This first revision of a question has a very long line in a code section (no linebreaks). Instead of showing horizontal scrollbars, the preview of the post content does overflow the revisions page....
View ArticleTriple-backtick code blocks don't get blockquoted correctly
Suppose I have a code block like this contrived pseudocode:```Here { is}my code```When I select the whole block including the backticks and then use try to blockquote it using the button or Ctrl+Q, the...
View ArticleWhen to use blockquote
I'm not sure if this would fall under a matter of opinion or not, I don't expect there to be a specific golden rule that must be followed.I'm curious on when it's appropriate/best to use the...
View ArticleLet's fork Google Prettify library! [closed]
Let's add our own bells and whistles to the library. Especially, I'd like to see code highlighting (anything will do), which is clearly needed and would be a great way to emphasise the important...
View ArticlePreview Doesn't Match Live View
This question (Fatal error when try add snippets code on functions.php Wordpress) had HTML in it that caused the preview to display subtly different (after Complemento) than the actual...
View ArticleWhen should code formatting be used for non-code text?
I reviewed an edit that did no change to the post apart from introducing code formatting like this to words that aren't code, such as iOS and Android (while curiously leaving Delphi untouched). I...
View ArticleOption to format/beautify code, or automatically do so
Many of my edits on Stack Overflow are merely formatting improvements. Adding newlines and indents is what I do at night. However, I wonder if it's possible to automate the process. Especially people...
View ArticleCode Snippet as a formatting tool
Since the Stack Snippet is being misused, let us make it a feature!My proposal is to add a dropdown to select the language, and let people paste their code inside to format the code. The language hint...
View ArticleA way to reduce the number of questions with only images?
The problem:This is something that I particularly see a lot in the pandas tag. People will ask questions that look something like the following:I have the following dataframe <link to imgur image of...
View ArticleHow is table with code formatted illegally? [duplicate]
Could someone please for the love of G tell me why this table is not formatted correctly?!!!!Base (base)Exponent (exp)Math.pow(base, exp)numeral(n).format('0[.]00e+0')logFormatter(n,...
View ArticleCode formatting in Scala is wrong with multiple line string [duplicate]
I am asking this question after tackling this question:How to test akka-http route to handle exception?There is a lot of code there, bur as you can see the formatting is not correct for the first piece...
View ArticleIs there a way to write console-like not selectable text?
I constantly ask this to myself when reading/writing Python related questions or answers, so I'll use the Python console as example, but I'm pretty sure it can be extended to other contexts.See for...
View ArticleIs a markup change enough improvement to be accepted as an edit?
Referring to the following suggested edit in the review queue: https://stackoverflow.com/review/suggested-edits/28302046In case the suggested edit in question isn't accessible any longer, here it is in...
View Article