Function getOptionalHeaderIdText

  • Appends a heading with an ID.

    Returns

    A header with ID markdown appended, or an empty string.

    Parameters

    • Optional id: string

      The ID. Can also be null or undefined.

    • prefix: string = ''

      Any prefix text that should be prepended to the resulting ID markdown.

    Returns string

Generated using TypeDoc