markdown 1.5
-
Values of meta variables
title
,author
, anddate
(if provided) will be transformed to the target output format before they are passed into templates. -
Fixed the bug that the default CSS was not added to HTML output.
-
Removed dependency on the mime package.
-
Added experimental support for HTML slides:
markdown::mark_html(..., meta = list(css = c('default', 'slides'), js = 'slides'))
. If you prefer knittingRmd
documents in RStudio, you may use the output format:output: markdown::html_format: meta: css: [default, slides] js: [slides]
See https://yihui.org/en/2023/01/minimal-r-markdown/ for a demo.