Description Usage Arguments Value Examples
View source: R/glossary_class.R
This is used to add terms to a glossary
1 2 |
definitions_path |
Where the the definitions of terms are stored. This is used to show the definitions when hovering over a glossary term in the text. |
glossary_path |
The file the glossary will be added to. This is used to link glossary terms in the text to their definitions in the rendered glossary. |
terms_used |
The terms that will be used. Adding terms to the constructor (instead of 'my_gloss$add("new term")') will include them as if they were added with 'my_gloss$add()'. |
header_level |
How big the headers are for each term in the rendered glossary. Larger numbers mean smaller titles. |
An 'R6Class' object of class 'Glossary'
1 2 3 4 | ## Not run:
my_gloss <- glossary()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.