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
ContentstringNoThis is inferred by the supplied content
NameTypeOptionalDescription
contentContentNoThe content to wrap
levelHeadingLevel.OneYesThe heading level