Responsive Images for Marked.js

Responsive Images for Marked.js

Mar 12, 2026

I recently made an extension for Marked (github, npm) designed to generate responsive images by injecting srcset and sizes attributes into html content generated from markdown files using simple filename conventions.

You can check it out at:

Or install it directly using:

npm install marked-responsive-images
Vous aimez cette publication ?

Achetez un croissant à EricLowry

Plus de EricLowry