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.
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.
if (FALSE) { get_modal_info(info_modal_links_csv = "https://docs.google.com/spreadsheets/d/1yEuI7BT9fJEcGAFNPM0mCq16nFsbn0b-bNirYPU5W8c/gviz/tq?tqx=out:csv&sheet=info_modal_links") }