isolate_kram_blocks: Isolate all blocks within a document that have a kramdown tag

View source: R/isolate_kram_blocks.R

isolate_kram_blocksR Documentation

Isolate all blocks within a document that have a kramdown tag

Description

Isolate all blocks within a document that have a kramdown tag

Usage

isolate_kram_blocks(body, predicate = "")

Arguments

body

an xml document

predicate

an XPath conditional statement in square brackets or an empty string. This can be used to filter on such attributes such as line number.

Value

the modified body, invisibly


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