litedown 0.2
-
A data frame (or matrix/tibble) wrapped in
I()
is fully printed to a table now by default. WithoutI()
, data objects are truncated to 10 rows by default when printing to tables. -
When
options(litedown.fig.alt = TRUE)
and the chunk optionfig.alt
is unset,fuse()
will emit reminders about the missing alt text for code chunks containing plots (thanks, @TimTaylor, #23). Providing alt text can improve the accessibility of images in HTML output. To avoid omitting the alt text inadvertently, you can set the optionlitedown.fig.alt
in your.Rprofile
. -
Added the meta variable
plain-title
for HTML output, which is the plain version of the document title (i.e., without HTML tags), and used in the<title>
tag. -
Check boxes from
- [ ] ...
are no longer disabled in HTML output. -
The implicit latest version of jsdelivr resources will be resolved to an explicit version, e.g.,
https://cdn.jsdelivr.net/npm/@xiee/utils/css/default.css
will be resolved tohttps://cdn.jsdelivr.net/npm/@xiee/[email protected]/css/default.css
, whereX.Y.Z
is the current latest version. This will make sure the HTML output containing jsdelivr resources is stable.