First commit
This commit is contained in:
16
frontend/types/markdown-it-texmath.d.ts
vendored
Normal file
16
frontend/types/markdown-it-texmath.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
declare module 'markdown-it-texmath' {
|
||||
import type MarkdownIt from 'markdown-it'
|
||||
|
||||
interface TexmathOptions {
|
||||
engine?: unknown
|
||||
delimiters?: 'dollars' | 'dollars-with- spaces' | 'brackets' | 'dollars-and-brackets'
|
||||
katexOptions?: Record<string, unknown>
|
||||
macros?: Record<string, string>
|
||||
outerSpace?: boolean
|
||||
strict?: boolean | 'warn' | 'ignore'
|
||||
errorColor?: string
|
||||
}
|
||||
|
||||
function texmath(md: MarkdownIt, options?: TexmathOptions): void
|
||||
export default texmath
|
||||
}
|
||||
Reference in New Issue
Block a user