Overload 1
Overload 2
Overload 3
export declare function heading<Content extends string>(content: Content, level?: HeadingLevel.One): `# ${Content}`;
Formats the content into a heading level.
Type Parameters
string Content extends
This is inferred by the supplied content
Parameters
Content content:
The content to wrap
optional
level?: HeadingLevel.OneThe heading level