• English
  • Plugin matrix

    Component variants

    All three entries share the same component API. Choose the default capabilities you need:

    ComponentEntryPurpose
    Fluxdown@fluxdown/solid or @fluxdown/solid/fullFull preset with highlighting, math and diagrams.
    FluxdownLite@fluxdown/solid/liteBasic Markdown presentation, ready to extend.
    FluxdownRaw@fluxdown/solid/rawChoose render and slot plugins explicitly.

    All plugins

    Composition includes inherited plugin types. A check means the component includes that plugin by default; an empty cell means it can be added manually.

    PluginCompositionPackageLiteFull
    BlockquotePluginRender Slotsolid-plugins
    BreakLinePluginRender Slotsolid-plugins
    CjkPluginRemarksolid-plugins
    CodePluginRender Slotsolid-plugins
    CodePelePluginSlotsolid-plugins
    CodePrismPluginRender Slotsolid-plugins
    CodeShikiPluginRender Slotsolid-plugins
    EffectChunkPluginRender Slotsolid-plugins
    EffectScalePluginRender Slotsolid-plugins
    EffectShadPluginRender Slotsolid-plugins
    EffectSuffixPluginRender Slotsolid-plugins
    EmojiPluginRemarksolid-plugins
    EmphasisPluginRender Slotsolid-plugins
    FallbackPluginRender Slotsolid-plugins
    HeadingPluginRender Slotsolid-plugins
    ImagePluginRender Slotsolid-plugins
    LinkPluginRender Slotsolid-plugins
    ListPluginRender Slotsolid-plugins
    ParagraphPluginRender Slotsolid-plugins
    PatchPluginRendersolid-plugins
    StrongPluginRender Slotsolid-plugins
    TablePluginRender Slotsolid-plugins
    TexPluginRender Slotsolid-plugins
    TexKatexPluginRender Slotsolid-plugins
    TexMathjaxKatexPluginRender Slotsolid-plugins

    Package

    solid-plugins refers to @fluxdown/solid-plugins, which provides aggregate plugins, renderers and slots for Solid.

    Import rules

    Import from @fluxdown/solid-plugins/plugins/<plugin-directory>. Remove the Plugin suffix and convert the name to lowercase kebab case: CodeShikiPlugin becomes code-shiki, and TexMathjaxKatexPlugin becomes tex-mathjax-katex.

    import { CodeShikiPlugin } from '@fluxdown/solid-plugins/plugins/code-shiki';
    import { TexMathjaxKatexPlugin } from '@fluxdown/solid-plugins/plugins/tex-mathjax-katex';

    Import PRESET_FULL_PLUGINS from @fluxdown/solid-plugins/full and PRESET_LITE_PLUGINS from @fluxdown/solid-plugins/lite.

    Pass plugins through the component's plugins prop. See aggregate plugins for declaration, composition and configuration.