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

Editing markdown in the Visual Editor

Last modified: February 5th, 2026

Since October 2025, this method of visual editing has been deprecated. CloudCannon cannot guarantee support for this feature. Please consider using Editable Regions or Bookshop.

You can edit markdown files in the Visual Editor using an in-place Rich Text editor embedded on your page.

To do so, add the data-cms-edit="content" attribute to the relevant element on your site. For example:

HTML
Copied to clipboard
<div data-cms-edit="content">
  {{ content }}
</div>

When encountering this attribute, CloudCannon will replace the children of the tagged element with the Content Editor, connected to the Markdown content of the opened file.

Related Resources

Open in a new tab