What kind of code format should I use for errors? [duplicate]
I was scrolling through Stack Overflow questions when I saw this one: Rscript Path Problem for exec() implementation R code in phpIt's a beautifully structured question, except I find the way the...
View ArticleCode block display bug? [duplicate]
I noticed that this answer used triple backticks in the markdown, but the rendered output looks strange to me. Is there a bug somewhere?
View ArticleIs inline code formatting for comments broken? [duplicate]
Just noticed this today on this comment:It seems that the formatting is broken, there are lots of whitespaces inside of the inline-code and the grey background is extending beyond the actual...
View ArticleIs indentation in answer editor broken?
I edited this answer, and by the look of the things, I cannot understand what went wrong. The code is indented with spaces, but they somehow disappear in preview.What did I do wrong?(It's very likely...
View ArticleI don't post code, but the editor requires me to format as code
Question in question: The Facebook app I create doesn't present in my profile setting. How to find User ID for Facebook App ID?While I'm not sure which part the checker thinks it as code, I suspect the...
View ArticleLast character inside single quotes in code block missing syntax color
I just came across this old question and in Chrome with dark mode, it looks like this:It happens when the language of the code block is set to lang-default:def a = "a string"def b = 'another'As you can...
View ArticleSmall CSS bug with ... ...
The following formatting strategy<pre>Line 1<hr>Line 2<hr>Line 3</pre>renders like this for me (in Chrome) as of March 2021 (image edited to be narrower so it doesn't blur):and...
View ArticleHow do I format my code blocks?
How do I post text so that it is formatted as code?What do I need to do so that my code shows up properly—not escaped or removed—when posted? And how do I get the correct syntax highlighting?For more...
View ArticleCannot figure why am getting "Your post appears to contain code that is not...
I tried changing every section in the code below (using/not using four character indentation with/without pre). I also tried removing the formatting and the line separators on the list.Nothing helps -...
View ArticleHow to properly format one liner shell scripts (bash/sh/zsh/batch/etc) in...
When adding a one liner shell script in an answer, what format/style do you think is better ?For one liner bash/sh/ksh/zsh/etc., I'm formatting it like this:$ echo -e "#include <stdio.h>\nint...
View ArticleIs it possible to use colours in a code block? [duplicate]
In this question, I mention something which does not work in a code block.For readability reasons, I'd like to put this in red colour (either the font of the background). I don't mean the entire code...
View ArticleCode formatted links are invisible on mobile [duplicate]
On mobile, it's impossible to tell that there is a hyperlink in a post if the link text uses code formatting exclusively.For exampe, here:Could the CSS for mobile view please be updated to provide some...
View ArticleFeature to remove an extra tab from every line when both indentation and...
This has constantly come under my notice that newbies, who copy paste their code (let's assume it is well indented, for when the indentation is wrong, some nice guy comes along and indents it properly...
View ArticleCode links not distinguished on iPhone
Links within inline code (backticks) are not rendered in blue nor distinguished any other way from regular text on iPhone (tested on iPhone SE 2020, iOS 14.0.1).Below is a screenshot for this post:How...
View ArticleIs there a test of a Github snippet integration on meta? [duplicate]
When reading a hot meta topic, I noticed that a mere link to a line of source code in a Github repository shows up as a preview of that code.This is what it looks like on the main page:This is what it...
View ArticleWriting questions on mobile phones [duplicate]
I use my mobile to code, but whenever I try posting a question that contains the codes are inevitably badly formatted. I cant even post an answer that includes code on other peoples question. I would...
View ArticleHow to properly format the code in a question if I’m visually impaired?
The question form always refuses the code I post because it is not formatted properly. The problem is that I am almost blind (visus 0.01 %) and have to use an 8× magnifier to see anything at all. If...
View ArticleI'd like to post a reply to this site, but part of the reply is in Delphi...
I want to respond to a user on Stack Overflow with some comments and some Delphi code.However, I cannot understand how to post the code section. The instructions do not make a lot of sense to me.
View ArticleWhy are posts edited to change the code formatting markers?
I have seen some edited posts, which have been edited to change the way that code is formatted. Sometimes, this is also the only edit they make.It will be changed from four spaces indentation to triple...
View ArticleAnyone having issues with code blocks in comments [duplicate]
I tried to add some code, in the comments section of this question:But ticks, tildes, 4 spaces don't seem to work at all...Also, I don't even have the buttons above my edit box!Is this a bug?Windows 10...
View Article