Skip to content

feat: responsive images - #174

Open
Akay7 wants to merge 1 commit into
torchbox:mainfrom
Akay7:image-template
Open

Akay7 wants to merge 1 commit into
torchbox:mainfrom
Akay7:image-template

Conversation

@Akay7

@Akay7 Akay7 commented Oct 15, 2026

Copy link
Copy Markdown

What

Adds an opt-in image_template setting. When it is set, ![alt](image:ID) is rendered with a Django template instead of a single <img>.

WAGTAILMARKDOWN = {
    "image_template": "wagtailmarkdown/responsive_image.html",
}

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant