This key toggles whether CloudCannon will treat 4 spaces of indentation as a code block when processing Markdown.
Setting this key to true will read indented blocks (4 spaces) as code blocks.
By default, this key is false (i.e., indented blocks are not treated as code blocks).
Appears in
└── markdown
└── options
└── treat_indentation_as_codeType
boolean
Default value
false
Examples
In this example, we have configured Markdown to treat 4 spaces of indentation as code blocks.
Copied to clipboard
markdown:
engine: commonmark
options:
treat_indentation_as_code: true{
"markdown": {
"engine": "commonmark",
"options": {
"treat_indentation_as_code": true
}
}
}