# KaTeX Math Blocks

> Math (LaTeX) blocks for EmDash CMS, rendered with KaTeX on the server.

Source: https://emdashcmseverything.com/plugins/katex/

- Category: Editor Experience
- Status: available
- Version: 0.2.0
- Price: Unknown
- Compatibility: EmDash ^0.39.1
- License: MIT
- Maintainer: Ibnu Toriq
- Download: https://www.npmjs.com/package/emdash-plugin-katex
- Repository: https://github.com/ibnutoriq/emdash-plugin-katex
- Published: 2026-11-01

Math (LaTeX) blocks for EmDash CMS, rendered with KaTeX on the server.

## Installation

Install the package from npm:

```bash
npm install emdash-plugin-katex
```

Register the plugin in your Astro config:

```js
// 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](https://github.com/ibnutoriq/emdash-plugin-katex)
- **npm package:** [emdash-plugin-katex](https://www.npmjs.com/package/emdash-plugin-katex)
