Description Usage Arguments Value Examples
This function generates the html tags for the top portion of a rmd modal window, containing the introductory information about that window. This function only will work within a rmd file to be knitted.
1 | get_modal_info(rmd = knitr::current_input(), info_modal_links_csv)
|
rmd |
The name of an input file passed to knit(). |
info_modal_links_csv |
A hyperlink to the google sheet, in csv format, that contains the modal links info. |
The function returns a string that is a set of html tags to be inserted into a html file.
1 2 3 4 | ## Not run:
get_modal_info(info_modal_links_csv = "https://docs.google.com/spreadsheets/d/1yEuI7BT9fJEcGAFNPM0mCq16nFsbn0b-bNirYPU5W8c/gviz/tq?tqx=out:csv&sheet=info_modal_links")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.