Skip to main content
Browse Documentation

Markdown field

Created by Contensis product team, last modified by r.saunders on 14 Sep 2021

The Markdown editor allows you to write blocks of content using the Markdown syntax. Contensis uses the SimpleMDE Markdown editor as it provides a rich toolset, including a full-screen mode.

Limitations

The content entered into the Markdown editor is stored and returned through the Delivery API as pure Markdown. Any links or images referenced in the Markdown editor have to be external as we do not parse the Markdown content.

Appearance

A markdown editor in the dark theme displaying a text formatting toolbar
An example of the Markdown editor with the dark theme and toolbars applied.

Settings

Setting name Summary
Name A text label to identify the field in an entry.
Field ID A sanitised name to be used by the API.
Read only Prevents authors from editing the field in the entry editor.
Allow multiple items to be added Sets the field to be repeatable, allowing an author to create a list of items.

Supported validation

This field editor supports the following validation methods:

Properties

Common properties

Property name Summary
Content guidelines Provides guidance to an author for the expected content that the field should contain.
Size Determines the size of the rendered editor in the entry editor. The default value is set to Medium.

Show toolbar

This setting lets you prevent the editor toolbar from being displayed. This would require an author to understand how to write in the Markdown syntax.

The default is set to Off.

Show status

This setting changes the visibility of the character and word count below the Markdown editor.

The default is set to Off.

Allow fullscreen

It's possible to edit Markdown in a full-screen window within Contensis. This setting determines if authors should be allowed to enter full-screen mode.

The default is set to Off.

Dark theme

This setting changes the Markdown editor to user the dark theme, rather than the default white theme.

The default is set to Off.

Necessary Cookies
These cookies are necessary for this website to function correctly. They are set when you perform certain actions on the site, such as creating an account, logging in, changing your privacy preferences or submitting a form. You can block these cookies in your browser, but this will stop parts of the site from working properly.
Functional Cookies
These cookies allow the website to provide extra functionality and more personalised experiences. They may be set by us or by third party providers whose services we have added to our pages. If you choose not to allow these cookies, these services may not work correctly.
Analytical Cookies
These cookies record anonymous data on how visitors use our website to help us monitor how well our website works. This data includes how many people have looked at specific pages, how long visitors stay on the site, and what devices they use. We use this data to identify changes that we could make to improve your experience and make our website more efficient.
Marketing Cookies
We set some cookies so you are shown more relevant marketing content. These include cookies from third-party advertising networks to show you different adverts on their services if you have previously visited our site. If you choose not to allow these cookies, you may experience less relevant advertising on other sites.