KaTeX Math Blocks
Math (LaTeX) blocks for EmDash CMS, rendered with KaTeX on the server.
Plugin
KaTeX Math Blocks
Math (LaTeX) blocks for EmDash CMS, rendered with KaTeX on the server.
Math (LaTeX) blocks for EmDash CMS, rendered with KaTeX on the server.
Installation
Install the package from npm:
npm install emdash-plugin-katex
Register the plugin in your Astro config:
// astro.config.mjs
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { katexPlugin } from "emdash-plugin-katex";
export default defineConfig({
integrations: [
emdash({
// …database, storage…
plugins: [katexPlugin()],
}),
],
});
Details
- Latest version: 0.2.0
- License: MIT
- Publisher: Ibnu Toriq
- Requires: EmDash
^0.39.1 - Source repository: https://github.com/ibnutoriq/emdash-plugin-katex
- npm package: emdash-plugin-katex