Open cynthiahqy opened 1 year ago
In each document define a definitions table
defs <- tibble::tribble(~term, ~def, "cake", "a sweet baked dessert made from flour", "pancake", "flat cake made in a pan")
and add to it using tibble::add_case()
tibble::add_case()
Then collect all the definitions together and load them into the glossary page
library(epoxy) #all_defs <- row_bind(def1, def2,...)
Define an epoxy template
{term} : {def}
Could also write the glossary to a temporary text file, which is then removed after knitting
In each document define a definitions table
and add to it using
tibble::add_case()
Then collect all the definitions together and load them into the glossary page
Define an epoxy template