Quantcast
Channel: Active questions tagged code-formatting - Meta Stack Overflow
Browsing all 180 articles
Browse latest View live
↧

Existing answer detected as improperly formatted code while trying to edit

I'm trying to edit the regex community-wiki reference post, but any change I make gives me the error:Your post appears to contain code that is not properly formatted as code. Please indent all code by...

View Article


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 Article


PowerShell Syntax Highlighting

I mainly answer PHP questions where syntax highlighting has always worked for me with just indentation. I've just started using PowerShell and have asked a couple of questions and syntax highlighting...

View Article

Image may be NSFW.
Clik here to view.

Emphasized, inline code is displayed in cursive and thus unreadable on my...

When a user uses emphasis on inline code, like so: the quick brown fox jumps over the lazy dog, yes, THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG, it gets rendered in cursive on Windows 10, Chromium:I...

View Article

When 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 Article


Image may be NSFW.
Clik here to view.

Could Stack Overflow support GitHub flavored markdown?

Stack Overflow already uses its own markdown extensions, and there is already overlap with GitHub Flavored Markdown. There are very few additional pieces of syntax left to bridge the gap...

View Article

Should we make the {} button add ``` instead of four spaces?

I didn't know that the three backticks code fence feature was implemented until I asked this question.This is a great new feature! I think the code block button in the editor (the {} button) should add...

View Article

Code blocks: spaces vs fences [duplicate]

Recently I've been seeing quite a number of "suggested edits" that do nothing other than change a perfectly valid "indented code block" (using 4 spaces) to a code block enclosed by fences (```)....

View Article


Image may be NSFW.
Clik here to view.

What is the preferred method for formatting code?

My primary question isWhat is the preferred method for formatting code?followed byIs the formatting help at odds with the preferred formatting method?The sidebar for the "Ask a question" interface...

View Article


Image may be NSFW.
Clik here to view.

Doesn't formatting tags inside a tag [duplicate]

Sometimes I write answers within the <pre>...</pre> tag to get more control over formatting the answers. Usually, I do this with the code-snippets, which may be required some emphasis.In...

View Article

Cannot close code block by standard fence when you start code with extra `...

I have been stuck with the following format problem a couple of hours and read many post style document on SO. Finally I found there is one ` more than normal in the beginning of the code. This is a...

View Article

Cannot close code block by standard fence when you start code with an extra `...

I have been stuck with the following format problem a couple of hours and read many post style documents on SO. Finally I found there is one ` more than normal in the beginning of the code.This is a...

View Article

Automatic detection of code screenshots [duplicate]

Screenshots of code is discouraged, but it is still a recurring problem.The question asking page is pretty clever though, and already prompts users to do the right thing. But nonetheless, screenshot...

View Article


Visually distinguish code highlighting tags

Recently I'm encountering more and more questions that contain a significant amount of code but due to the poor/lazy choice of tags, the code is usually not highlighted. When the question contains just...

View Article

Image may be NSFW.
Clik here to view.

Multiple programming languages answer structure [duplicate]

As an iOS developer, I see a lot of old answers in Objective-C, often accompanied with new Swift version, which may be in many different Swift versions too (Swift 2, Swift 3, etc.)I'm sure this is not...

View Article


Image may be NSFW.
Clik here to view.

Add a button / shortcut solution to not to colorize code blocks [duplicate]

In some cases, colours of reserved words rather disturb the reader, see the last two lines where it does not get clear at first sight that the greyed endings are just parts of the filenames and not the...

View Article

Image may be NSFW.
Clik here to view.

Code blocks deciding to go out of the frame

I just recently came across a bug, I saw a post with code like this foo bar, with (`), but somehow it became like this:It went under the "Featured on Meta" and "The Overflow Bug" banners and went out...

View Article


Image may be NSFW.
Clik here to view.

Deleted code block rendering problem on recent update of Chrome

Browser bug, or site bug?Chrome just recently updated (to version 85.0.4183.121). After the update, code blocks found in deleted posts are rendered badly:Interestingly, if you select the text, it looks...

View Article

How should we handle edits adding unnecessary inline `code` formatting?

I've seen a few (more than a few, no links at the moment) suggested edits where the user simply wants to add code tags as they believe code is needed for every proper noun on Stack Overflow. The source...

View Article

Is 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 Article
Browsing all 180 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>