View source: R/get_leftovers.R
get_leftovers | R Documentation |
Retrieve source from beyond the end of the document.
get_leftovers(text, items = parseLatex(text))
text |
Character vector holding source. |
items |
Parsed version of |
The part of text
that follows \end{document}
other than a single newline, named according to the
original line numbers.
The line numbering in the output matches what a
text editor would see; embedded newlines in text
will
result in separate lines in the output.
# line: 1 2 3
text <- "\\begin{document}\n\\end{document}\nnotes"
get_leftovers(text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.