litedown 0.4
-
Provided an option
options(litedown.roam.cleanup = TRUE)to clean up the*__files/directory after previewing.Rmdor.Rfiles vialitedown::roam()(thanks, @TimTaylor, #36). -
Added the keyboard shortcut
Ctrl + K(orCommand + Kon macOS) for rendering a file to disk in thelitedown::roam()preview. -
Cross-references also work for LaTeX output now.
-
Fixed an error in the internal function
detect_pkg()duringR CMD checkon CRAN. -
Set
options(bitmapType = 'cairo')on macOS only whenxquartzis available (thanks, @TimTaylor, #39). Previously onlycapabilities('cairo')was checked, which was not enough. This option can also be manually set viaoptions(bitmapType)in a code chunk if the automatic switch tocairois not desired. -
Fixed the bug that indented or quoted code blocks are not correctly indented or quoted when a code expression contains multiple lines.
-
Fixed the bug that the span syntax
[text](){...}doesn't work whentextcontains markup (e.g., bold or italic).