Function: isKatexPluginNeeded()

Source: 1.0.0-rc.14 · ecc10ae38a81 (uncommitted changes)

ts
function isKatexPluginNeeded(config?): boolean;

Defined in: packages/valaxy/node/config/valaxy.ts:113

Whether the KaTeX markdown-it plugin should be registered. Always true unless MathJax is active, so that per-page frontmatter.katex: true can work even when features.katex is globally false.

Parameters

config?

ValaxyNodeConfig | null

Returns

boolean