Skip to main content

Function: lines()

lines(...ls): string

Defined in: lib/markdown.ts:691

Utility function to create new lines within markdown. Joins all strings with two new lines, as single new lines are ignored in markdown.

Parameters​

ls​

...(string | string[])[]

Each line in the markdown.

Returns​

string

Combined markdown.