Customize Markdown Elements
You can replace HTML elements of Markdown output with Svelte components.
img.svelte
(The file name must match the HTML tag name):
svelte.config.js
:
+layout.svelte
:
Advanced
Find and replace HTML elements with custom components using CSS selectors.
svelte.config.js
:
Supported CSS selectors.