code blocks

Formatted source segments

Code blocks are sections of text formatted to display programming code, commands, or other technical content exactly as written.

In documentation and online platforms, code blocks preserve spacing, prevent text wrapping, and typically appear in a monospace font: Paste the code block into your terminal.

Inline code uses single backticks; multiline blocks use triple backticks or indentation.

Related

functions · curly braces · brackets · programming · variables · procedures · recursion · scope · frameworks · indentation · interpreter · parameters · syntax · debugging · stack overflow · structuring · runtime environment · data structures

Categories
Opposites
content format

code blocksprose

Unversified language

body text · plain text · rich text

readability mode

code blocksrich text

Characters plus styling data

content purpose

code blocksnatural language

Human communication, not programming

prose · commentary · narrative · expository writing · plain English

Family

code, codes, coded, coding, coder, coders, codify, codification, codec

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Concrete · Rated G