heading

export declare function heading<C extends string>(content: C, level?: HeadingLevel.One): `# ${C}`;
export declare function heading<C extends string>(content: C, level?: HeadingLevel.One): `# ${C}`;
Formats the content into a heading level.
NameConstraintsOptionalDefaultDescription
CstringNoThis is inferred by the supplied content
NameTypeOptionalDescription
contentCNoThe content to wrap
levelHeadingLevel.OneYesThe heading level