Skip to content

Releases: yihui/litedown

litedown 0.2

09 Sep 02:10
Compare
Choose a tag to compare
  • A data frame (or matrix/tibble) wrapped in I() is fully printed to a table now by default. Without I(), data objects are truncated to 10 rows by default when printing to tables.

  • When options(litedown.fig.alt = TRUE) and the chunk option fig.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 option litedown.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 to https://cdn.jsdelivr.net/npm/@xiee/[email protected]/css/default.css, where X.Y.Z is the current latest version. This will make sure the HTML output containing jsdelivr resources is stable.

litedown 0.1

21 Aug 15:12
Compare
Choose a tag to compare
  • Initial CRAN release. This version still has some rough edges, and you are recommended to use the development version:

    install.packages('litedown', repos = c('https://yihui.r-universe.dev', 'https://cloud.r-project.org'))