Code block
What is Code block?
A fenced block of text — set off by three backticks on their own lines — kept exactly as typed, used for multi-line code or anything that shouldn't be reformatted.
Why it matters
Preserves exact spacing and line breaks, which matter for code and matter far less in ordinary prose.
How it works
Open with three backticks on their own line, optionally followed by a language name (like python) for coloring in tools that support it, then close with three backticks.
Examples
- Three backticks, your code, three backticks — knowdust's preview keeps it monochrome.