compileMarkdown | R Documentation |
Compiles a Markdown file to HTML.
## Default S3 method:
compileMarkdown(filename, path=NULL, ..., outPath=".", header=NULL,
metadata=getMetadata(filename), verbose=FALSE)
filename , path |
The filename and (optional) path of the Markdown document to be compiled. |
... |
Additional arguments passed to |
outPath |
The output and working directory. |
header |
|
metadata |
A named |
verbose |
See |
The input encoding is based on getOption("encoding")
and
the output encoding is "UTF-8"
(forced by markdownToHTML
).
Returns the pathname of the generated HTML document.
Henrik Bengtsson
Internally, markdownToHTML
is used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.