Skip to main content

Function: h5()

h5(title, ...contents): string

Function to create a level 5 heading.

Parameters

title: string

The title of the heading.

• ...contents: string[]

The contents of the section.

Returns

string

The markdown heading, with the contents section below it.

Example

console.log(h5('Heading 5', 'This is the contents of the section.'));
// Prints:
//
// ##### Heading 5
//
// This is the contents of the section.

Defined in

lib/markdown.ts:127