From 989f0eba1abda3211e129c031c391c4ede7f60c2 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Wed, 21 Aug 2024 09:59:56 -0500 Subject: [PATCH] bump asset versions --- DESCRIPTION | 2 +- NEWS.md | 3 +++ R/site.R | 2 +- docs/_litedown.yml | 2 +- inst/resources/default.css | 5 ++--- tests/tests.Rout.save | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index ea65f08..767d1e1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: litedown Type: Package Title: A Lightweight Version of R Markdown -Version: 0.1 +Version: 0.1.1 Authors@R: c( person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")), person() diff --git a/NEWS.md b/NEWS.md index 1574c30..252ab49 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +# CHANGES IN litedown VERSION 0.2 + + # CHANGES IN litedown VERSION 0.1 - Initial CRAN release. diff --git a/R/site.R b/R/site.R index 20dde07..b989416 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.12.30') paste0(x, v) +jsd_version = function(x, v = '@1.13.0') paste0(x, v) diff --git a/docs/_litedown.yml b/docs/_litedown.yml index 7e86fe3..2132a44 100644 --- a/docs/_litedown.yml +++ b/docs/_litedown.yml @@ -5,5 +5,5 @@ book: output: litedown::html_format: meta: - css: ["@default@1.12.30", "@article@1.12.30", "@book@1.12.30", "@copy-button", "@heading-anchor", "@key-buttons", "@callout"] + 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"] diff --git a/inst/resources/default.css b/inst/resources/default.css index 7caafd9..1d4791f 100644 --- a/inst/resources/default.css +++ b/inst/resources/default.css @@ -4,12 +4,11 @@ body { margin: auto; padding: 1em; line-height: 1.5; - box-sizing: border-box; } body, .abstract, code, .footnotes, #refs { font-size: .9em; } li li { font-size: .95em; } ul:has(li > input[type="checkbox"]) { list-style: none; padding-left: 1em; } -*, *:before, *:after { box-sizing: inherit; } +*, :before, :after { box-sizing: border-box; } a { color: steelblue; } pre, img { max-width: 100%; } pre, pre:hover { white-space: pre-wrap; word-break: break-all; } @@ -79,7 +78,7 @@ section.footnotes { } @media print { - body { font-size: 12pt; max-width: 100%; } + body { max-width: 100%; } tr, img { page-break-inside: avoid; } } @media only screen and (min-width: 992px) { diff --git a/tests/tests.Rout.save b/tests/tests.Rout.save index c972831..33053d7 100644 --- a/tests/tests.Rout.save +++ b/tests/tests.Rout.save @@ -1,5 +1,5 @@ -R version 4.4.0 (2024-04-24) -- "Puppy Cup" +R version 4.4.1 (2024-06-14) -- "Race for Your Life" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20