how do you enter a code block in the forum
Thanks for asking.
Start with three backticks. On my keyboard it is in the upper left, next to the 1 key. They look like single quotes except they slant backwards (`
).
Paste your code.
End with three backticks.
Some more info.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.