Open navClose nav

Markdown Editor

The Markdown editor is the main way of editing content in Forestry. Your content’s front matter is shown on the left, and your content’s Markdown body is shown on the right.,dpr_auto,f_auto,q_80,w_640/

An editing environment based on Markdown allows for fast formatting and a seamless authoring experience, which focuses entirely on the content being created. Markup is translated to visual formatting on-the-fly to provide the best experience possible.

Markdown formatting

The Markdown editor works just like any other online WYSIWYG editor. A full toolbar is available at the bottom of the editor for easy formatting. Markdown is supported to allow for fast formatting and a familiar experience for developers.

The Markdown editor is fully commonmark compatible! Give Markdown a try by typing ## My New Heading! into the editor to get a level 2 heading!,dpr_auto,f_auto,q_80,w_640/

To find all available keyboard and Markdown shortcuts, click the keyboard icon in the bottom right corner.

Current limitations

Commonmark specification does not support Tables or Footnotes. We’ll need to extend the editor to tackle those issues.

Source editor,dpr_auto,f_auto,q_80,w_640/

For advanced users, the full Markdown source of your content body can be edited by clicking the more options icon (...), and selecting “Raw Editor”.

Drafting and Publishing Content

The Markdown editor fully supports creating draft content – content that is not yet ready to be published to your production website – as well as live, published content.,dpr_auto,f_auto,q_80,w_640/

From a section douments list, this can be changed by clicking the more options icon (...), and clicking “Set as draft”/“Publish”.

When you’re editing a Markdown file, set Draft to ON or OFF.

This option is only available for Jekyll and Hugo sites. You can always use a Toggle field in your front matter template to add a draft field.

New File Format

By default, Forestry is configured to create all new content using the Markdown editor.

Front Matter Templates

The left-hand side of the Markdown editor is your document’s front matter. Forestry provides a powerful templating system for front matter, called Front Matter Templates.

Last updated on May 29, 2019