Skip to main content

    Markdown

    The Markdown component is a read-only way to display content formatted in markdown-style.

    MarkdownProps

    extends, , , ,
    NameTypeDefaultDescription
    children

    The markdown content to render.

    customComponentMappings?
    undefined

    A map of HTML tags (e.g., 'a', 'h1') to custom render functions, allowing you to override the default rendering of specific elements.

    onSelectionChange?
    (selection: ) =>

    Callback fired whenever the user's text selection within the rendered markdown changes. Receives a MarkdownSelection describing the selected range expressed as positions in the original markdown source.

    Still have questions?
    Find answers in the Dynatrace Community