- Svelte 5 only.
- remark-unwrap-images was depricated, so it got replaced with rehype-unwrap-images.
- Supports Svelte 5
<script module>
syntax.
- Updated dependencies.
- Fixed logic blocks fix not working.
- Fixed logic blocks getting wrapped in
p
tag, and being parsed as directive. - Fixed Svelte Special Elements being parsed incorrectly.
- Fixed directives double label issue when using custom labels.
- Added directives support with
remark-directive
plugin.
- Removed regex validation for the
elements
option.
- The
"rehype-pretty-code"
dependency was missing from thepackage.json
file.
- BREAKING: Renamed
globalImports
toimports
. - FIX: Fixed #1 issue.
- Replaced @shikijs/rehype with rehype-pretty-code.
- Added more styles to the remark-github-alerts plugin, and other improvements.
- Generally improved the codebase, performance, jsDocs, validations, etc.
- Find and replace HTML elements with custom components using CSS selectors.
- Can globally import (auto import) components and whatever into Markdown files.
- Exported missing
isHrefExternal
helper from unified transformer ("mdx-svelte/unified"
). - Trimmed empty last line from code blocks.