完成世界书、骰子、apiconfig页面处理
This commit is contained in:
3
frontend/node_modules/micromark-extension-math/lib/math-flow.d.ts
generated
vendored
Normal file
3
frontend/node_modules/micromark-extension-math/lib/math-flow.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/** @type {Construct} */
|
||||
export const mathFlow: Construct;
|
||||
import type { Construct } from 'micromark-util-types';
|
||||
27
frontend/node_modules/micromark-extension-math/lib/syntax.js
generated
vendored
Normal file
27
frontend/node_modules/micromark-extension-math/lib/syntax.js
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* @import {Options} from 'micromark-extension-math'
|
||||
* @import {Extension} from 'micromark-util-types'
|
||||
*/
|
||||
|
||||
import { mathFlow } from './math-flow.js';
|
||||
import { mathText } from './math-text.js';
|
||||
|
||||
/**
|
||||
* Create an extension for `micromark` to enable math syntax.
|
||||
*
|
||||
* @param {Options | null | undefined} [options={}]
|
||||
* Configuration (default: `{}`).
|
||||
* @returns {Extension}
|
||||
* Extension for `micromark` that can be passed in `extensions`, to
|
||||
* enable math syntax.
|
||||
*/
|
||||
export function math(options) {
|
||||
return {
|
||||
flow: {
|
||||
[36]: mathFlow
|
||||
},
|
||||
text: {
|
||||
[36]: mathText(options)
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user