This map registers all node types that are acceptable in a (interactive) phrasing context (so not in links).
This interface can be augmented to register custom node types in a phrasing context, excluding links and link references.
declare module 'mdast' { interface PhrasingContentMap { custom: Custom; }}
Generated using TypeDoc
This map registers all node types that are acceptable in a (interactive) phrasing context (so not in links).
This interface can be augmented to register custom node types in a phrasing context, excluding links and link references.
Example