Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade paged.js to version 0.2.0 #252

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
Empty file modified inst/examples/deploy_github
100755 → 100644
Empty file.
Loading