A section is removed from a source document where the section to be removed is indicated by a start and end tag.

remove_section(pvec_src, pl_tag)

Arguments

pvec_src

Rmd source vector

pl_tag

List with section tags

Value

vec_result vector with source without section to be removed