Function heading

  • Formats the content into a heading level.

    Type Parameters

    • Content extends string

      This is inferred by the supplied content

    Parameters

    • content: Content

      The content to wrap

    • Optional level: One

      The heading level

    Returns `# ${Content}`

  • Formats the content into a heading level.

    Type Parameters

    • Content extends string

      This is inferred by the supplied content

    Parameters

    • content: Content

      The content to wrap

    • level: Two

      The heading level

    Returns `## ${Content}`

  • Formats the content into a heading level.

    Type Parameters

    • Content extends string

      This is inferred by the supplied content

    Parameters

    • content: Content

      The content to wrap

    • level: Three

      The heading level

    Returns `### ${Content}`

Generated using TypeDoc