• Sometimes you'd like to wrap a block of Markdown text in a <div> tag to apply some effect to it, but doing so turns off Markdown paragraphing inside the tag because Markdown leaves block tags alone. This function wraps each paragraph in Markdown in a tag. This tag should be set to display inline in CSS.

    Parameters

    • markdown: string
    • tagName: string
    • attributes: Record<string, string> = {}

    Returns string

Generated using TypeDoc