mdhtml | R Documentation |
Generates an mdhtml object which stores a HTML or XTML tag
mdhtml(x)
x |
a string to be stored as a HTML or XTML tag, see the details! |
Particularly useful for custom HTML element used multiple times in an Rmarkdown document. You may easily insert them (e.g. via copy and paste) by calling the 'insert()' or 'refer()' method. Technically, it requires a string starting with an '<tag>' or '<tag />' and ending with an '</tag>' or '<tag />'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.