Skip to content

Commit

Permalink
Add HEAD placeholder in html template for shiny_prerendered (#344)
Browse files Browse the repository at this point in the history
* Add HEAD placeholder in html template for shiny_prerendered

This follows change in rstudio/rmarkdown#1942 and rstudio/rmarkdown#2064

* update NEWS
  • Loading branch information
cderv authored Jun 23, 2021
1 parent bb2450b commit 42d7329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This release adds integration with the new [`{bslib}` package](https://rstudio.g

### Improvements & fixes

* Close #343: Fix an issue with order of dependencies with `shiny_prerendered` following previous changes in rmarkdown - rstudio/rmarkdown#2064. (#344)

* Closed #315, #321, and #286: `DT::datatable()` now fills its container correctly inside of `flexdashboard::flex_dashboard()`. (#322)

* Closed #310: An `.active` class may now be added to a particular `.tabset` tab to control which tab is shown by default. (#311)
Expand Down
3 changes: 3 additions & 0 deletions inst/www/flex_dashboard/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
$for(header-includes)$
$header-includes$
$endfor$
$if(shiny-prerendered)$
<!-- HEAD_CONTENT -->
$endif$

$if(devel)$
<link rel="stylesheet" href="../rmarkdown/templates/flex_dashboard/resources/flexdashboard.css" type="text/css" />
Expand Down

0 comments on commit 42d7329

Please sign in to comment.