pantoken / renderers/react-markdown/src / InstuiMarkdownRenderOptions
Interface: InstuiMarkdownRenderOptions
Beta
Render options that tune how Markdown maps onto Instructure UI.
Properties
link?
optionallink?:object
Beta
Link behavior.
external?
optionalexternal?:boolean
Show an external-link affordance on off-site links (default: true).
permalinks?
optionalpermalinks?:boolean
Add permalink anchors to headings (default: false).
permalinkClassName?
optionalpermalinkClassName?:string
Class name for permalink anchors (default: pantoken-heading-anchor).
code?
optionalcode?:object
Beta
Fenced code block behavior.
language?
optionallanguage?:boolean
Preserve the language hint as a data-language attribute (default: true).
icons?
optionalicons?:object
Beta
Inline :icon: token behavior.
enabled?
optionalenabled?:boolean
Enable :icon: rendering (default: true).
color?
optionalcolor?:string
CSS color applied to rendered icons.
resolvers?
optionalresolvers?:IconResolver[]
Extra resolvers, tried before the built-in pantoken icon set.
plugins?
optionalplugins?:PantokenPlugin[]
Plugins whose rehype hooks contribute resolvers (e.g. simple-icons).
color?
optionalcolor?:object
Beta
Inline color-code swatches (e.g. #03893D).
enabled?
optionalenabled?:boolean
Enable color swatches (default: true).
alerts?
optionalalerts?:object
Beta
GitHub-style blockquote alerts.
enabled?
optionalenabled?:boolean
Enable > [!NOTE] → InstUI Alert mapping (default: true).
tableCaption?
optionaltableCaption?:string
Beta
Caption used for rendered tables (required by InstUI Table for a11y).