Files
slidevjs__slidev/docs/custom/config-katex.md
Anthony Fu 4f5bb6820d Add 'docs/' from commit '4ee072e055e04965fad621e5941c6905ef2a2be0'
git-subtree-dir: docs
git-subtree-mainline: 48ec6b1309
git-subtree-split: 4ee072e055
2024-03-07 11:40:43 +01:00

417 B

Configure KaTeX

Create ./setup/katex.ts with the following content:

import { defineKatexSetup } from '@slidev/types'

export default defineKatexSetup(() => {
  return {
    /* ... */
  }
})

With the setup, you can provide the custom setting for KaTex Options. Refer to the type definitions and their documentation for more details.