-
Added back/forward/refresh/print buttons to the toolbar in the
litedown::roam()
preview interface. -
Set
options(bitmapType = 'cairo')
infuse()
ifcapabilities('cairo')
is TRUE, which will generate smaller bitmap plot files (e.g.,.png
) than usingquartz
orXlib
, and is also a safer option forfuse()
to be executed in parallel (rstudio/rmarkdown#2561).
-
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.
- Initial CRAN release.