This key defines which Markdown processing engine CloudCannon will use to convert between HTML and Markdown.
Appears in
Type
string
Default value
commonmark
Allowed values
commonmarkkramdownExamples
In this example, we have configured CloudCannon to use the kramdown Markdown engine.
Copied to clipboard
markdown:
engine: kramdown{
"markdown": {
"engine": "kramdown"
}
}In this example, we have configured CloudCannon to use the commonmark Markdown engine with custom options.
Copied to clipboard
markdown:
engine: commonmark
options:
html: true
breaks: true{
"markdown": {
"engine": "commonmark",
"options": {
"html": true,
"breaks": true
}
}
}