Blockquote.
interface
markdown.RenderCallbacks
interface RenderCallbacks
- code?: (children: string, meta?: CodeBlockMeta) => undefined | null | string
Code block.
meta.languageis the info-string (e.g."js"). Only passed for fenced code blocks with a language. - heading?: (children: string, meta: HeadingMeta) => undefined | null | string
Heading (level 1–6).
idis set whenheadings: { ids: true }is enabled. - listItem?: (children: string, meta?: ListItemMeta) => undefined | null | string
List item.
meta.checkedis set for task list items (- [x]/- [ ]). Only passed for task list items.