Skip to content

Commit

Permalink
fix(math): katex types
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Apr 6, 2022
1 parent e5dc93e commit fdd1580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-math/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { BytemdPlugin } from 'bytemd'
import type * as K from 'katex'
import type { default as K, KatexOptions } from 'katex'
import remarkMath from 'remark-math'
import { MathLocale, getMathActions } from '../utils'
import en from '../locales/en.json'

export interface BytemdPluginMathOptions {
locale?: Partial<MathLocale>
katexOptions?: Omit<K.KatexOptions, 'displayMode'>
katexOptions?: Omit<KatexOptions, 'displayMode'>
}

export default function math({
Expand Down

0 comments on commit fdd1580

Please sign in to comment.