split.nl
option to set_knit_hooks
to mitigate white space issues when using blackfriday for the markdown->html conversion (@krlmlr).ctl
parameter to most functions. Some functions such as strip_ctl
had existing parameters that did the same thing (e.g. strip
, or which
), and those have been deprecated in favor of ctl
. While technically this is a change in the API, it is backwards compatible (addresses #56 among and other things).*_sgr
version of most *_ctl
functions.nzchar_ctl
gains the ctl
parameter.strsplit_ctl
can now work with ctl
parameters containing escape sequences provided those sequences are excluded from by the ctl
parameter.sgr_to_html
so that it can handle vector elements with un-terminated SGR sequences (@krlmlr).strwrap_ctl
when indent/exdent/prefix/initial widths vary from first to second line.strwrap2_*(..., strip.spaces=FALSE)
, including a bug when wrap.always=TRUE
and a line started in a word-whitespace boundary.term.cap
parameter to unhandled_ctl
.fansi::set_knit_hooks
makes it easy to automatically convert ANSI CSI SGR sequences to HTML in Rmarkdown documents. We also add a vignette that demonstrates how to do this.strsplit
.substr
behavior starting with R-3.6.strsplit_ctl
.Initial release.