heading

export declare function heading<Content extends string>(content: Content, level?: HeadingLevel.One): `# ${Content}`;
export declare function heading<Content extends string>(content: Content, level?: HeadingLevel.One): `# ${Content}`;
Formats the content into a heading level.
NameConstraintsOptionalDefaultDescription
ContentstringNo
This is inferred by the supplied content
NameTypeOptionalDescription
contentContentNo
The content to wrap
levelHeadingLevel.OneYes
The heading level