Tabs are discouraged. Should we use them anyway in answers about make where...
For better formatting tabs are discouraged in questions and answers. See, for example, the How to create a Minimal, Reproducible Example section of the help:Also, use spaces instead of tabs â tabs...
View ArticlePost shows more content when edited than actually exists [duplicate]
Today, I wanted to edit the following question:Discord Global DM Wait TimeI just wanted to change the format so that the post could be more descriptive. But when I was redirected to the edit, I noticed...
View ArticleCode highlighting broken? [closed]
On Windows 10 with Firefox 93.0 I get this interesting to read code:Related question
View ArticlePressing the quote button destroys text in code fences
Let's say I want to quote this shell code in a post:foo=barecho $fooFirst I put it in code fences so it shows up as code:```foo=barecho $foo```Then to quote it, I select it and either press the Quote...
View ArticleShould there be a warning for code containing bidirectional Unicode text?
Articles on the misuse of bidirectional text have been making the rounds recently. Put simply, this abuses the concept of bidirectional Unicode text to compile something different from what it appears...
View ArticleIs there a way to indent a chunk of code? [duplicate]
When formatting a question, I usually copy and paste the code that I want examined. But it is somewhat cumbersome to have to indent every line of code by 4 spaces, is there a more efficient way of...
View ArticleIs it frowned upon to use backticks around a word or even part of it to refer...
I'm talking about things like "you can do that by taking your usersArray and mapping it to each user's name", essentially incorporating part of the inline code into the natural flow of the sentence...
View ArticleChange the code block button from inserting indentation to triple-backticks
Working with indentation as formatting is a very annoying experience and it's clear that new users have a problem with it. Also, many users seem to be in support for triple-backticks.There are many...
View ArticleAutoformat code unless disabled
Often I see questions where new users in a hurry post some unreadable code, and ask us to help them: function help(){console.log("please help me"); console.log("indentation issues"); console.log("more...
View ArticleShould code be edited so that it is visible rather than being in one long line?
In many instances, I have seen code that is poorly formatted or all in one line (like below using R). Is it appropriate to edit the code so that it is more legible? I know in some instances these are...
View ArticleLast character inside single quotes in code block missing syntax color [closed]
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 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 ArticleDisplaying HTML first on Stack Overflow snippets
Currently, code snippets are displayed JavaScript first, then CSS and finally HTML. Regardless of the order they appear in the post source or anything.This does not make any sense to me. Does it for...
View ArticleAutomatically apply Kotlin code formatting to [android-jetpack-compose]...
I have noticed that applying some tags automatically adds code highlighting to code blocks.Obviously all language tags apply the appropriate formatting, but some technology tags also do this without...
View ArticleIs there a comprehensive list of languages the code highlighter supports?...
The triple backtick is my go to, to format snippets of code.```I regularly use them like:```json for JSON```py for Python... and many moreDoes a list of the linters Stack Overflow supports exist?For...
View ArticleHow can I give constructive feedback on the new Stackoverflow code markdown...
Okay, it's not April 1st, so the new fonts must be serious. I'd like to express a like or dislike of the new fonts to those who decide such things without starting a flame war. Or is there an option to...
View ArticleHow does the highlight.js change affect Stack Overflow specifically?
Update 2020-09-24This is now live network-wide (including Stack Overflow).UpdateThis is now live on Meta Stack Exchange and Meta Stack Overflow. Any bugs and feedback can be posted on the main post as...
View ArticleWhy would Stackoverflow code blocks (only) suddenly be displayed in italics?
Okay, it's not April 1st, so the new fonts must be serious. I'd like to express a like or dislike of the new fonts to those who decide such things without starting a flame war. Or is there an option to...
View ArticleWhy would Stack Overflow code blocks (only) suddenly be displayed in italics?
Okay, it's not April 1st, so the new fonts must be serious. I'd like to express a like or dislike of the new fonts to those who decide such things without starting a flame war. Or is there an option to...
View ArticlePartial syntax highlighting in a question [duplicate]
On questions where the code overflows, the syntax highlighting stops wherever the end of the content visible without scrolling is.Scrolling down a bit fixes the issue. This problem occurs in Safari on...
View Article