Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 417 Bytes

config-katex.md

File metadata and controls

17 lines (12 loc) · 417 Bytes

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.