完成世界书、骰子、apiconfig页面处理
This commit is contained in:
5
frontend/node_modules/rehype-katex/index.js
generated
vendored
Normal file
5
frontend/node_modules/rehype-katex/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* @typedef {import('./lib/index.js').Options} Options
|
||||
*/
|
||||
|
||||
export {default} from './lib/index.js'
|
||||
15
frontend/node_modules/rehype-katex/lib/index.d.ts
generated
vendored
Normal file
15
frontend/node_modules/rehype-katex/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Render elements with a `language-math` (or `math-display`, `math-inline`)
|
||||
* class with KaTeX.
|
||||
*
|
||||
* @param {Readonly<Options> | null | undefined} [options]
|
||||
* Configuration (optional).
|
||||
* @returns
|
||||
* Transform.
|
||||
*/
|
||||
export default function rehypeKatex(options?: Readonly<Options> | null | undefined): (tree: Root, file: VFile) => undefined;
|
||||
export type Options = Omit<katex.KatexOptions, "displayMode" | "throwOnError">;
|
||||
import type { Root } from 'hast';
|
||||
import type { VFile } from 'vfile';
|
||||
import katex from 'katex';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Reference in New Issue
Block a user