Description Usage Arguments Examples
Allow margin_note()-like content including inline chunks.
1 | margin_content(text, move = 0)
|
text |
Character string containing the text to be put in the margin. An inline chunk can be delimiter like this: @r 3 + 2@. That way, the function call (which must itself be in an inline chunk) can itself contain an inline chunk for creating a table, etc. |
move |
Distance in cm to move the note. positive means down, negative means up. Works only in PDF mode. |
1 | ## Not run: In an Rmd file, margin_content("We can add 3 + 2 to get @r 3 + 2@")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.