• Parse a HTML string for headings.

    Notes

    The html string is not sanitized - use with caution

    Parameters

    • html: string

      HTML string to parse

    • Optional force: boolean

      Whether to ignore HTML headings with class jp-toc-ignore and tocSkip or not

    Returns IHTMLHeading[]

    Extracted headings

Generated using TypeDoc