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

ignore_unpaired_backticks

Table of contents

Description:

This key toggles whether CloudCannon will ignore unpaired backticks when parsing content.

Setting this key to false will cause CloudCannon to treat unpaired backticks as parsing errors.

By default, this key is true (i.e., unpaired backticks are ignored).

Appears in:
└── Snippet
    └── params
        └── *
            └── Content Parser Configuration
                └── options
                    └── ignore_unpaired_backticks
Type:
boolean
Default value:
true
Examples:

In this example, we have configured content parser to ignore unpaired backticks.

Copied to clipboard
_snippets:
  highlight:
    snippet: <<highlight>> [[content]] <</highlight>>
    params:
      content:
        parser: content
        options:
          editor_key: highlighted_text
          ignore_unpaired_backticks: true
{
  "_snippets": {
    "highlight": {
      "snippet": "<<highlight>> [[content]] <</highlight>>",
      "params": {
        "content": {
          "parser": "content",
          "options": {
            "editor_key": "highlighted_text",
            "ignore_unpaired_backticks": true
          }
        }
      }
    }
  }
}
Open in a new tab