Plugin matrix
Component variants
Full highlights Bash, CSS, HTML, JavaScript, JSON, Python and TypeScript. Unrecognized languages remain plain text. Lite displays code as source text.
build.tex defaults to false. When enabled, Full typesets math with MathJax SVG and requires SVG XElement in the host. Lite displays formula source; add TexMathJaxPlugin for typesetting.
Code highlighting
Full uses Shiki highlighting and displays source text while initializing or after an error. Android requires Lynx 3.8 or later with background-thread WebAssembly support. Use CodePrismPlugin for highlighting without WebAssembly.
All plugins
Composition includes inherited plugin types. A check means the preset directly includes that plugin. Full's CodeShikiPlugin inherits the base features of CodePlugin.
Package and imports
vue-lynx-plugins is @fluxdown/vue-lynx-plugins, which
provides Vue Lynx composite plugins, render plugins and slots.
Import from
@fluxdown/vue-lynx-plugins/plugins/<plugin-directory>. Remove thePluginsuffix from the export name and convert it to lowercase hyphenated words:CodeShikiPluginbecomescode-shiki.
Import
PRESET_FULL_PLUGINSfrom@fluxdown/vue-lynx-plugins/full, orPRESET_LITE_PLUGINSfrom@fluxdown/vue-lynx-plugins/lite, to pass a preset directly toFluxdownRaw.
The component's plugins prop can extend any preset. See composite plugins for configuration and composition.
Shared Vue infrastructure
vue-base-plugins refers to @fluxdown/vue-base-plugins,
which provides shared render plugins, CJK, Emoji and Patch. Import from the
package listed in the table: