diff --git a/vignettes/shinyjs-usage.Rmd b/vignettes/shinyjs-usage.Rmd index d57c5b4..aaed270 100644 --- a/vignettes/shinyjs-usage.Rmd +++ b/vignettes/shinyjs-usage.Rmd @@ -142,15 +142,15 @@ If the Rmd file makes use of [Tabbed Sections](http://rmarkdown.rstudio.com/html If you're using the [`shiny_prerendered` Rmd format](http://rmarkdown.rstudio.com/authoring_shiny_prerendered.html), you need to include the following code in the beginning of your Rmd file, just after the YAML header: -```` -```{r, echo=FALSE}`r ''` -shiny::addResourcePath("shinyjs", system.file("srcjs", package = "shinyjs")) -``` -```{r, context="server"}`r ''` -shinyjs::useShinyjs(html = TRUE) -``` - -```` + + ```{r, echo=FALSE}`r ''` + shiny::addResourcePath("shinyjs", system.file("srcjs", package = "shinyjs")) + ``` + ```{r, context="server"}`r ''` + shinyjs::useShinyjs(html = TRUE) + ``` + +