UNPKG

@unified-myst/role-extension

Version:

Extension to support the MyST role syntax (``{name}`content` ``) in unified

17 lines (16 loc) 507 B
/** * The MDAST extension, to convert mystRole tokens to MDAST nodes. * @type {FromMarkdownExtension} */ export const mystRoleMdastExt: FromMarkdownExtension; export type FromMarkdownExtension = import('mdast-util-from-markdown').Extension; export type FromMarkdownHandle = import('mdast-util-from-markdown').Handle; /** * mdast node type for mystRole */ export type MystRoleNode = any; /** * mdast node type for mystRole name */ export type MystRoleNameNode = any; export type InlineCodeNode = any;