Provide a way to insert images into Markdown

Created on 15 August 2025, 17 days ago

Problem/Motivation

In theory Markdown Easy supports images. However, to do this the exact URL of the image is required, and Drupal and Markdown Easy don't provide an easy way to get this. Offsite images are okay, but if image filters are being used, it can be hard to get the URL of the filtered image, and without proper integration with the Drupal image/media system, Drupal doesn't know a specific version of the image is being used, so it may not regenerate the image when needed.

Steps to reproduce

Proposed resolution

At a basic level, it would be fantastic if Markdown Easy could support Drupal media module. I would like to be able to reference a Drupal media entity, and ideally specify an image filter.

E.g. ![My fabulous picture](media:93;Medium Square)

That would tell the Markdown image to use the numbered media entity and apply the named image style.

However, my dream solution would be to have a Markdown easy toolbar, with a "media" button that would pop up a media browser and let you select or upload an image (or other media), and insert the appropriate markdown.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇪Ireland lostcarpark

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024