Create an xml document that contains two html_block elements that contain div tags.
Source:R/div.R
make_div.Rd
Create an xml document that contains two html_block elements that contain div tags.
See also
Other div:
clean_div_tags()
,
find_between_tags()
,
find_div_pairs()
,
get_divs()
,
label_div_tags()
,
label_pairs()
,
make_div_pairs()
,
replace_with_div()
Examples
cha <- pegboard:::make_div("challenge")
cha
#> {xml_document}
#> <document xmlns="http://commonmark.org/xml/1.0">
#> [1] <paragraph>\n <text xml:space="preserve">::::::::::::::::::::::::::::::: ...
#> [2] <paragraph>\n <text xml:space="preserve">::::::::::::::::::::::::::::::: ...
cat(pegboard:::xml_to_md(cha))
#> :::::::::::::::::::::::::::::::::::::::: challenge
#>
#> ::::::::::::::::::::::::::::::::::::::::::::::::::