Skip to content

Commit

Permalink
bump asset versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Aug 21, 2024
1 parent 06ec5cc commit 989f0eb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666")),
person()
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# CHANGES IN litedown VERSION 0.2


# CHANGES IN litedown VERSION 0.1

- Initial CRAN release.
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.12.30') paste0(x, v)
jsd_version = function(x, v = '@1.13.0') paste0(x, v)
2 changes: 1 addition & 1 deletion 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: ["@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"]
5 changes: 2 additions & 3 deletions inst/resources/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.Rout.save
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 989f0eb

Please sign in to comment.