Welcome to the interactive demonstration of mdsvex-enhanced-images, a powerful plugin that seamlessly integrates SvelteKit’s enhanced:img components with MDSvex markdown processing.
Transform regular markdown images into optimized enhanced:img components automatically:

Markdown code:
 Handles complex file paths including spaces and special characters:

Markdown code:
 Process images from various directories including the $lib folder:

Markdown code:
 Apply multiple CSS classes using semicolon separation or multiple class parameters:

Markdown code:
 Mix CSS classes with HTML attributes like loading="lazy" for performance optimization:

Markdown code:
 Apply imagetools directives for on-the-fly image processing:

Markdown code:
 Combine rotation and tinting effects with styling:

Markdown code:
 enhanced:img componentsThe plugin supports global configuration for default attributes and imagetools directives, as demonstrated by the base styling applied to all images on this page.
This demo is automatically deployed to GitHub Pages using SvelteKit’s static adapter.