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

code_block_fences

Table of contents

Description:

This key defines which style of code block fences CloudCannon will use when converting HTML to Markdown.

The value can be \``(three backticks) or~~~` (three tildes).

Appears in:
└── markdown
    └── options
        └── code_block_fences
Type:
string
Allowed values:
```
~~~
Examples:

In this example, we have configured Markdown to use tildes for code block fences.

Copied to clipboard
markdown:
  engine: commonmark
  options:
    code_block_fences: ~~~
{
  "markdown": {
    "engine": "commonmark",
    "options": {
      "code_block_fences": "~~~"
    }
  }
}
Open in a new tab