syntax.d.ts 463 B

123456789101112
  1. /**
  2. * Create an extension for `micromark` to enable math syntax.
  3. *
  4. * @param {Options | null | undefined} [options={}]
  5. * Configuration (default: `{}`).
  6. * @returns {Extension}
  7. * Extension for `micromark` that can be passed in `extensions`, to
  8. * enable math syntax.
  9. */
  10. export function math(options?: Options | null | undefined): Extension;
  11. import type { Options } from 'micromark-extension-math';
  12. import type { Extension } from 'micromark-util-types';