site/node_modules/micromark-extension-math/lib/syntax.d.ts

13 lines
470 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* 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