markdown
to Suggests
of the package DESCRIPTION
for https://github.com/yihui/knitr/issues/1864.hilight()
can deal with multibyte characters that cannot represented in the system native encoding now (on Windows)
blank lines before/after code are preserved in the hilight() output now (thanks, Terry Therneau)
hi_andre() may fail to find highlight under OS X (thanks, Christopher Gandrud, #2)
:: and ::: are recognized as operators, and they will be syntax highlighted in the same way as other operators like +, -, *, and /, etc (thanks, Qiang Li, #3)
blank lines were not preserved in previous versions; now they can be correctly preserved
hilight() works when the code is only a comment; fixed the bug reported at http://stackoverflow.com/q/18548020/559676 which was actually due to the bug of utils::getParseData() in R 3.0.1
Linux Mint has a built-in version of highlight under /usr/local/bin/ which is not Andre Simon's highlight, and this can hang highr (https://groups.google.com/forum/#!topic/knitr/nicYgzqhwX8)
the package vignettes were built with the knitr::docco_classic engine; see vignette(package = 'highr')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.