site/node_modules/micromark-extension-math/dev/lib/syntax.d.ts
2024-10-14 08:09:33 +02:00

13 lines
470 B
TypeScript

/**
* 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?: Options | null | undefined): Extension
export type Extension = import('micromark-util-types').Extension
export type Options = import('./math-text.js').Options