pdf_documentC | R Documentation |
The pdf_documentC
driver replaces the like-named rmarkdown
driver with one that outputs Commonmark rather than Pandoc Markdown.
Commonmark is a dialect of Markdown for which the Pandoc driver
for Commonmark supports output of source position information.
By using this function as your output driver, you can get that
in your own documents.
pdf_documentC(latex_engine = "pdflatex",
sourcepos = TRUE,
defineSconcordance = TRUE,
run_latex = TRUE, ...)
latex_engine |
Command to convert ‘.tex’ file to ‘.pdf’. |
sourcepos |
Whether to include source position information. |
defineSconcordance |
If |
run_latex |
Whether to run the |
... |
Other arguments to pass to the base driver. |
This driver modifies the standard rmarkdown driver
pdf_document
to use Commonmark
and add concordances.
The latex_formatC
driver requires a currently
unreleased version of the commonmark
package, with
version higher than 1.9.0.
An R Markdown output format object which will add concordance information.
Duncan Murdoch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.