Wahlberg.

A Markdown field for Craft CMS, with a GitHub-style editor.

For Craft CMS
Status Coming Soon
  • Raw Markdown in, raw Markdown out
  • Server-side preview, parsed with the same parser as Craft’s `|md` filter, so the preview can’t drift from the front end
  • HTML Purifier on the parsed output by default, so inline `<script>` can’t ride in on an author’s Markdown
  • Craft reference tags like `[Read more]({entry:123:url})` resolved on output, and left alone inside code
  • Markdown syntax highlighting in the Write tab, without giving up the plain textarea
  • Formatting toolbar: headings, bold, italic, strikethrough, quote, code, link, entry and asset pickers, bulleted, numbered and task lists, folding into a menu when the field is too narrow for them
  • Entry and asset links written as reference tags, so they survive a slug change or a replaced file
  • Snippets: blocks of Markdown you define, dropped in from the toolbar
  • The editor grows to fit what’s typed, between a minimum and (optional) maximum height
  • `⌘B` / `⌘I` / `⌘K` shortcuts, `⌘⇧K` for snippets, and Enter continues lists and blockquotes
  • Buttons toggle: hit **Bold** on already-bold text and the markers come off
  • Native browser undo, so formatting buttons don’t blow away the undo stack
  • No editor library bundled: it’s a textarea, some vanilla JS, and Craft’s own icons
  • Per-field Markdown flavour, toolbar, sizing, placeholder, character or byte limit, and counts
  • GraphQL support

Other Tools