☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

engine

Table of contents

Description:

This key defines which Markdown processing engine CloudCannon will use to convert between HTML and Markdown.

Appears in:
└── markdown
    └── engine
Type:
string
Default value:
commonmark
Allowed values:
commonmark
kramdown
Examples:

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
    }
  }
}
Open in a new tab