Description Usage Arguments Value
The purpose of the following function is, for a provided section of text, to insert the required tooltip css around a provided glossary term. The function preserves the pattern of capitalization of the glossary term that already exists. This function is used by the function glossarize_md also described in this package.
1 | insert_tooltip(text, glossary_term, span_css)
|
text |
The section of text where tooltips are to be added. |
glossary_term |
The glossary term to be looked for. |
span_css |
The css tags to add before the glossary term. |
The function outputs a string containing the text section with html tags inserted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.