md_paragraph {gluedown}R Documentation

Markdown paragraphs breaks

Description

Take a character vector and return a glue vector of paragraphs separated by double newlines. This leaf block is rendered as distinct ⁠<p>⁠ HTML tags.

Usage

md_paragraph(...)

Arguments

...

Any number of character vectors.

Details

A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a paragraph. The contents of the paragraph are the result of parsing the paragraph’s raw content as inlines. The paragraph’s raw content is formed by concatenating the lines and removing initial and final whitespace... Paragraphs can contain multiple lines, but no blank lines.

Value

A glue vector with elements of ... separated by two newlines.

See Also

Other leaf block functions: md_blank(), md_chunk(), md_fence(), md_heading(), md_indent(), md_label(), md_reference(), md_rule(), md_setext(), md_table()

Examples

md_paragraph(stringr::sentences[1:3])

[Package gluedown version 1.0.9 Index]