From bc0df538f7e7f65fb1de59e21d833768334814e1 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Thu, 22 Aug 2024 17:47:51 -0500 Subject: [PATCH] add pages.js to convert the book to paged HTML that can be printed to PDF --- R/site.R | 2 +- docs/_litedown.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/site.R b/R/site.R index b989416..8393ff1 100644 --- a/R/site.R +++ b/R/site.R @@ -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) diff --git a/docs/_litedown.yml b/docs/_litedown.yml index 2132a44..3ebe56a 100644 --- a/docs/_litedown.yml +++ b/docs/_litedown.yml @@ -5,5 +5,5 @@ book: output: litedown::html_format: meta: - css: ["@default@1.13.0", "@article@1.13.0", "@book@1.13.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: ["@default@1.13.1", "@article@1.13.1", "@book@1.13.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"]