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.