carpentries / glosario-r

glosario create and retrieve multilingual glossaries.
https://carpentries.github.io/glosario-r
Other
6 stars 5 forks source link

Use Case - Summarizing a lesson [RMarkdown Support] #8

Closed ian-flores closed 2 years ago

ian-flores commented 4 years ago
  1. Amari has written a lesson in R Markdown that includes YAML metadata stating that it defines correlation and causation.
  2. She adds a code chunk to the end of her lesson that includes a call to glosario::summarize_terms().
  3. When she knits the document to HTML, this code chunk inserts a definition list dl at that point. Its entries are the definitions of all of the terms listed under the glossary/defines key in the page's YAML header in alphabetical order by term according to the rules for glossary/language.