This is a simple helper function, which registers the plantuml knit engine with knitr. As a result, code chunks of type plantuml can be evaluated.

plantuml_knit_engine_register()

Value

the result of knitr::knit_engines$set(plantuml = plantuml::plantuml_knit_engine)

Examples

if (FALSE) {
# in the setup chunk in a RMarkdown document, add
plantuml_knit_engine_register()
}