Add-ons
addOns: AddOn[];
Apply any custom transformations to the MDAST.
- default: none
- Set of transformer functions that are executed after all internal astro-m2dx transformations
/**
* Transformer interface that must be implemented by addons.
*
* @param root root of the MDX AST
* @param file VFile including frontmatter at `data.astro.frontmatter`
*/
export type AddOn = (root: Root, file: VFile) => Promise<void | Root>;