is for questions about the block formatting used for code in posts.
The tag code-block is for questions about the block formatting used for code in posts.
You create the code block one of three ways:
- Select the text, then hit the '{}' icon in the formatting bar
- Select the text, then hit Ctrl-K
- Indent all lines of code 4 spaces
See also: How do I format my code blocks?