When posting a question or answer, there is a formatting help below the body textbox, which includes tips for how to format code, make text bold or italic, and quote text:
However, the tips for formatting code and quoting text are wrong. I explain below:
For formatting code, the help shows inline code formatting using code fences (triple backticks) as
```code```
. However, while multiple backticks can be used for formatting inline code, the general consensus (also reflected in the Markdown Editing Help) is that inline code should be formatted using single backticks as`code`
and multiple backticks should be used for special cases (such as escaping a backtick inside inline code) or for formatting code blocks.The Code section of Show formatting tips shows the correct way of formatting inline code and code blocks:
Additionally, as @Marijn said in a comment:
[...] to be consistent with the tips for bold and italic it would be better if the first tip would show the code as monospace with a gray background, instead of formatted as kbd.
For quoting text, the help shows quote formatting as
>quote
. However, this doesn't work since there should have been a space between>
andquote
. The correct tip should be> quote
.The Blockquotes section of Show formatting tips shows the correct way of quoting text:
As in the case of inline code formatting, to be consistent with the other tips, it would be nice if the quote formatting tip was displayed as rendered quote formatted text.
>quote
syntax used to work before the adoption of CommonMark in 2020. I think the help simply hasn't been updated since.