- Description:
This key toggles whether CloudCannon will render snippets as plain text within code blocks when processing Markdown.
Setting this key to
truewill prevent snippets from being processed within code blocks, rendering them as plain text instead.By default, this key is
false(i.e., snippets within code blocks may be processed).- Appears in:
└── markdown └── options └── escape_snippets_in_code_blocks- Type:
boolean- Default value:
false- Examples:
In this example, we have configured Markdown to render snippets as plain text within code blocks.
Copied to clipboardmarkdown: engine: commonmark options: escape_snippets_in_code_blocks: true{ "markdown": { "engine": "commonmark", "options": { "escape_snippets_in_code_blocks": true } } }