inst/scripts/filter.R

library(simplermarkdown)

# Filter tree; read from srdin
new_dta <- simplermarkdown:::filter_pandoc_json_tree()  

# Write filtered tree to stcout
writeLines(rjson::toJSON(new_dta))

Try the simplermarkdown package in your browser

Any scripts or data that you put into this service are public.

simplermarkdown documentation built on March 31, 2023, 10:58 p.m.