• Add an heading prefix to a HTML node.

    Parameters

    • container: Element

      HTML node containing the heading

    • selector: string

      Heading selector

    • prefix: string

      Title prefix to add

    Returns Element | null

    The modified HTML element