make_div: Create an xml document that contains two html_block elements...

View source: R/div.R

make_divR Documentation

Create an xml document that contains two html_block elements that contain div tags.

Description

Create an xml document that contains two html_block elements that contain div tags.

Usage

make_div(what, fenced = TRUE)

Arguments

what

the class of block

Value

an xml document with commonmark namespace

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
cat(pegboard:::xml_to_md(cha))

carpentries/pegboard documentation built on Nov. 13, 2024, 8:53 a.m.