Closed gadenbuie closed 4 years ago
To make this work I need to move the theme picker js out of the pandoc template and into it's own file that's loaded via htmltools::htmlDependency()
when is.null(theme)
. That way the JS and the CSS files are in the same directory and the JS can know where the file is hosted to find the CSS files.
Use internal CSS files for the theme picker