[code] Code block
A code block. Its content is shown as written.
- Block
- Content shown as written
Syntax
[code] anything [/code]
Try it
Preview
[b]This stays as typed[/b]
Good to know
- Tags inside are shown as written, so a code block is the way to show BBCode itself.
- Line breaks right inside the tags are dropped, so put the tags on their own lines.