Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2404 of /usr/share/drupal7/includes/

Writing Post on Drupal with Markdown

Drupal is great but could be even better with Markdown.
This is the HOWTO you're looking for.
This article is written in markdown.

Env: Drupal 7

Install modules

  1. Download them all and extract them in your modules/ folder.
  • Markdown filter
  • Markdown editor for BUEditor
  • BUEditor
  • Ajax markup
  • BUEditor Plus
  • IMCE
  1. Enable them all in Drupal's module page https://[YOUR_SITE]/admin/modules

Config settings

  1. Create new text format for Markdown Administer -> Configuration -> Content Authoring -> Text formats -> Add text format Name: Markdown Check the [x] Markdown box Save

  2. Tell BUEditor about Markdown editor Go to admin/config/content/bueditor to add a new BUEditor profile by clicking "Add new profile". For the Markdown format, choose the Markdowneditor.

create dueditor profile for markdown in drupal7

  1. Change default editor for content authoring Go to Choose the content type you want to use Markdown, for example Story. -> Story -> manage fields -> Body -> Operation edit BUEditor Profile -> choose Markdown

use bueditor markdown for story body

Check environment

  1. Remember to enable permissions for User-roles in https://[YOUR_SITE]/admin/people/permissions .

  2. Check file upload File upload uses IMCE iframe, so if you have HTTPS HSTS enabled and "X-Frame-Options" => "DENY", remember to change DENY to SAMEORIGIN.


Go to https://[YOUR_SITE]/node/add/story and start writing article in Markdown.

writing article in markdown

Hope this HOWTO can save a tree and a kitten.

Add new comment