Plugin matrix
Component variants
The three entry points share the same component API with different default capabilities:
All plugins
Composition includes inherited plugin types. A check means the component includes the plugin by default; a blank means it can be added manually.
Package and imports
svelte-plugins refers to @fluxdown/svelte-plugins,
containing Svelte plugin packs, render plugins and slots.
Import from
@fluxdown/svelte-plugins/plugins/<plugin-directory>. Remove thePluginsuffix from the export name and convert it to kebab case:CodeShikiPluginbecomescode-shiki.
Import
PRESET_FULL_PLUGINSandPRESET_LITE_PLUGINSfrom@fluxdown/svelte-plugins/fulland@fluxdown/svelte-plugins/literespectively. Both can be passed directly toFluxdownRaw.
The component's plugins prop can extend either preset. See plugin packs for configuration and composition.