This project is not covered by Drupal’s security advisory policy.
Summary
This module alters the output of the Insert module to use Markdown syntax for image_image and file_generic widget types.
For image_image widget types, it also adds an optional link field to the widget, so you can have images link to other content via the UI.
Images
Without a link
Inserting an image with a "Title" and "Alt" field and clicking "Insert" will result in:

With a link
Inserting the same as above but with /path/to/file in the link field will result in:
[](/path/to/file "Optional Title")
Files
If the "Description" box is selected in the widget settings and is given a value, it will be the text for the link.
For example, [Description](/path/to/file).
Dependancies
- Markdown,
- Insert,
- Either the core file or image module enabled,
- A textarea with the markdown formating option enabled.
Installation
- Enable the module and selected dependancies as above,
- Create a file or image field on one of your entities,
- In the configuration page for the field, enable both the "Insert" and "Markdown Insert" checkboxes under the "Insert" drop down settings, and optionally the "Title" and "Alt" fields for images,
- Create or edit an instance of this entity, and upload a file or image,
- Enter the description, title, alt, and link fields as necessary,
- Choose the markdown-text-format-enabled area you would like the text to be inserted to and click on "Insert"
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content display, Content editing experience
9 sites report using this module
- Created by skh on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
