Closed KevCaz closed 6 years ago
Here is a link that explains how to avoid conflicts: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/
I apply this for our website and tocify
is now called a bit earlier in single.html
, seems to work.
To create our blog, we now use tocify along with blogdown to create posts on various topics, notably posts that include calls to R functions that create HTML widgets.
Recently, @eldre noticed that in one of our recent blog post he table of content generated by tocify was missing and I came to realize that actually every post in which we call mapview (a function that creates a HTML widget) has the same issues. Given how rmarkdown loads js libraries, I realize that this is likely due to a multiple load of jQuerry.