Skip to content

mdiHandlers

const mdiHandlers: Record<string, Handler>

Defined in: index.ts:150

The mdast→hast handler table used by mdiToHast, exported so existing remark-rehype / mdast-util-to-hast pipelines (e.g. Astro’s markdown.remarkRehype.handlers) can render MDI nodes without adopting mdiToHast itself. Includes a paragraph override that applies block-alignment data ([[indent:N]] / [[bottom]]) as classes.