Skip to content

Function: isKatexPluginNeeded() ​

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