Markdown, Images, and Drupal's Image Styles

Markdown editor for BUEditor

Generally speaking, there is no reason for me to use a WYSIWYG editor in Drupal when I’m using Markdown. Unfortunately, I needed an easy way to add images to my content as well, using a file browser/uploader.

Fortunately, the best image/file uploader and browser for Drupal is, in my opinion, IMCE.

Add CSS Classes to Images with Markdown in Drupal


For some time I’ve been writing my blog posts here in Markdown and using the Markdown input filter module to process the text in Drupal. Recently, as I found myself updating some older posts, I needed to be able to add classes to links and images and wondered if there was some way to specify these in Markdown.