html_with_concordance | R Documentation |
These functions produce a new driver which matches the old
one in most respects, but adds an argument sourcepos
(and possibly others).
If that argument is TRUE
(the default) then concordances
are handled by the new driver.
These functions are used to produce html_documentC
and similar drivers
in this package, but should also work on other drivers that produce
HTML output using Pandoc.
html_with_concordance(driver)
pdf_with_concordance(driver)
driver |
An R Markdown driver that produces HTML, LaTeX or PDF using Pandoc. |
A new driver function.
html_with_concordance(rmarkdown::html_fragment)
pdf_with_concordance(rmarkdown::latex_fragment)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.