Skip to content

Commit

Permalink
add pages.js to convert the book to paged HTML that can be printed to…
Browse files Browse the repository at this point in the history
… PDF
  • Loading branch information
yihui committed Aug 22, 2024
1 parent d842cfb commit bc0df53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/site.R
Original file line number Diff line number Diff line change
Expand Up @@ -313,4 +313,4 @@ tweak_options = function(format, yaml, meta = NULL, toc = TRUE, options = NULL)
}

# use a specific version of jsdelivr assets
jsd_version = function(x, v = '@1.13.0') paste0(x, v)
jsd_version = function(x, v = '@1.13.1') paste0(x, v)
4 changes: 2 additions & 2 deletions docs/_litedown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ book:
output:
litedown::html_format:
meta:
css: ["@[email protected].0", "@[email protected].0", "@[email protected].0", "@copy-button", "@heading-anchor", "@key-buttons", "@callout"]
js: ["@sidenotes", "@appendix", "@toc-highlight", "@copy-button", "@external-link", "@heading-anchor", "@right-quote", "@key-buttons", "@callout"]
css: ["@[email protected].1", "@[email protected].1", "@[email protected].1", "@copy-button", "@heading-anchor", "@key-buttons", "@callout", "@pages"]
js: ["@sidenotes", "@appendix", "@toc-highlight", "@copy-button", "@external-link", "@heading-anchor", "@right-quote", "@key-buttons", "@callout", "@pages"]

0 comments on commit bc0df53

Please sign in to comment.