• Create a medium heading.

    Returns

    The formatted text.

    Example

    h2('medium heading'); // '## medium heading'
    

    Type Parameters

    • T extends string

    Parameters

    • text: T

      The text to be formatted.

    Returns `## ${T}`