Code Block
What this section does
Code block with line numbers
Where it goes
- Can be used as many times as you like on one page.
- This section is in every plan — no extra plugin needed.
Styles
Different looks for the same section. You can change the style later; your content stays as it is.
The first 2 styles of every section are open on every store. The rest unlock with the Page Editor plugin — all at once, not style by style.
Standard (Dark)
FreestandardCode block with syntax highlighting
Specific to this style: code, files, language, title, showLineNumbers, paddingY
Dark
FreedarkDark background code block
Specific to this style: code, files, language, title, showLineNumbers, paddingY
Light
Page EditorlightLight background code block
Specific to this style: code, files, language, title, showLineNumbers, paddingY
Tabbed Files
Page Editortabbed-filesMulti-file tab header switching code panes
Specific to this style: code, files, language, title, showLineNumbers, paddingY
Line Numbered
Page Editorline-numbered-railLeft line-number gutter with a copy button
Specific to this style: code, files, language, title, showLineNumbers, paddingY
Settings
The fields you see in the Section Settings panel on the right when this section is selected.
Shared by every style
- bg
- contentMaxWidth
- sectionMaxWidth
- horizontalPadding
- verticalPadding
- verticalAlignment
- horizontalAlignment
- horizontalMargin
- verticalMargin
- spacingOverrides
- animationType
- animationDuration
- animationDelay
- animationEasing
- animationStagger
- animationRepeat
- animationParallax
- imageParallax
- animationScrollEffect
- height
This page is generated straight from the product's own section definitions, so a newly shipped section appears here too.