rmarkdown_block | R Documentation |
rmarkdown
equationConverts an image to LaTeX then inserts that into an rmarkdown
equation
(surrounded by $$).
rmarkdown_block(img, retry = FALSE)
img |
image to be converted to LaTeX |
retry |
If Mathpix is not able to process the image, should we try again with a re-processed image? |
You must save your own API key in your
environment (e.g. ~/.Renviron
) with the identifiers MATHPIX_APP_ID
and
MATHPIX_APP_KEY
. This can be tested with mathpix:::credentials()
.
an rmarkdown
equation block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.