Unified

The built-in "unified" transformer is a wrapper around the unified ecosystem.

import { unifiedTransformer } from "mdx-svelte/unified"
 
mdxPreprocess({
    onTransform: async (markup, options) => {
        return await unifiedTransformer(markup, options, {
            // ...
        })
    },
})
Return to top