View source: R/latex_to_image.R
latex_to_image | R Documentation |
Uses CodeCogs API to convert latex to an image, and then download the result.
latex_to_image(latex, path, format = "png")
latex |
A latex equation (character). |
path |
A path to save the image (character). |
format |
The image format (supported: png, gif, svg). |
Invisibly returns the path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.