Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

- Added support for Sass files with `.scss` and `.sass` extension (thanks, @felipecrp, #244).

- Upgraded `paged.js` from version _0.1.43_ to _0.2.0_. (thanks, @felipecrp, #252).

## BUG FIXES

- Fix an issue with `loft.lua` filter following changes in Pandoc 2.16 (#249).
Expand Down
2 changes: 1 addition & 1 deletion R/paged.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ thesis_paged = function(
}

pagedown_dependency = function(css = NULL, js = FALSE, .test = FALSE) {
paged = if (.test) 'js/paged-latest.js' else c('js/paged.js', 'js/hooks.js')
paged = if (.test) 'js/paged-latest.js' else c('js/paged.polyfill.js', 'js/hooks.js')
list(htmltools::htmlDependency(
'paged', packageVersion('pagedown'), src = pkg_resource(),
script = if (js) c('js/config.js', paged),
Expand Down
Loading