@unified-myst/role-extension
Version:
Extension to support the MyST role syntax (``{name}`content` ``) in unified
12 lines (11 loc) • 478 B
TypeScript
/**
* The micromark extension, to parse the source syntax to events.
* Events are token enter/exits, which in-turn are references to slices of the source text.
*
* @type {Extension}
*/
export const mystRoleMmarkExt: Extension;
export type Code = import('micromark-util-types').Code;
export type Extension = import('micromark-util-types').Extension;
export type Tokenizer = import('micromark-util-types').Tokenizer;
export type State = import('micromark-util-types').State;