| md_softline | R Documentation |
Take a character vector and return a glue vector of separated by a single
newline. This inline is rendered as single <p> HTML tags.
md_softline(...)
... |
Any number of character vectors. |
A regular line break (not in a code span or HTML tag) that is not preceded by two or more spaces or a backslash is parsed as a softbreak. (A softbreak may be rendered in HTML either as a line ending or as a space. The result will be the same in browsers. In the examples here, a line ending will be used.)
A glue vector with elements of ... separated by a single newline.
Other inline functions:
md_autolink(),
md_bold(),
md_code(),
md_convert(),
md_disallow(),
md_escape(),
md_hardline(),
md_image(),
md_issue(),
md_italic(),
md_link(),
md_strike(),
md_text()
# compare the following
md_bold(c("One", "Two"))
md_softline(md_bold(c("One", "Two")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.