View source: R/map_rd2markdown.R
add_nl_around_md_blocks | R Documentation |
Add newline elements such that each block element is surrounded by one newline. Will not add newlines where one already exists.
add_nl_around_md_blocks(x)
x |
|
## Not run:
x <- list("p1", nl(2), "p2", block("list1"), block("list2"))
add_nl_around_md_blocks(x)
# list("p1", nl(2), "p2", nl(1), block("list1"), nl(1), block("list2"))
# ^ ^
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.