External plugins
Article last updated at August 11, 2026
Connection
The difference between external plugins and built-in ones is that before connecting them, they must first be installed (npm install), and then added to the plugins section mdit-plugins.
For external plugins, the plugin name is specified in the plugins field.
Example of enabling
Installing and configuring the markdown-it-katex plugin.
The plugin allows displaying mathematical formulas.
-
Install the package with the plugin:
npm install markdown-it-katex -
Add the following configuration to the
.yfmfile:extensions: - name: mdit-plugins plugins: - "markdown-it-katex"
Usage:
$\sqrt{3x-1}+(1+x)^2$
Result:
Was the article helpful?
Previous
Next