Skip to content

CHANGELOG

  • feat: export remark-github-alerts plugin.

    import remarkGithubAlerts from "mdx-svelte/unified/remark-github-alerts"

Breaking:

  • Unified transformer options <core-plugin>.plugins.before|after TS types changed. Check the updated docs.
  • Changed shiki default theme to slack-dark. Matches vsCode “Dark Modern” theme.
  • UnifiedTransformerOptions no longer exported.

Features:

  • Added new “remark-breaks” plugin. Enabled by default.
  • Added new remarkPlugins and rehypePlugins options to the Unified transformer. This makes it easy to add custom plugins instead of using the <core-plugin>.plugins.before|after api.
  • Unified transformer options <core-plugin>.plugins.before|after now correctly distinguishes between Remark and Rehype plugins. Prevents accidentally adding a Remark plugin after a Rehype plugin or adding a Rehype plugin before a Remark plugin.
  • Moved "hast-util-to-html" to "dependencies".