View source: R/strip_comments.R
strip_comments | R Documentation |
Strip comments from LaTeX lines
strip_comments(lines, retain.percent.symbol = TRUE)
lines |
Character vector of a LaTeX document. |
retain.percent.symbol |
(logical, default: |
lines
but with all text to the right of every unescaped %
removed
some_lines <- c("Text. % A comment", "20\\% of comments are % useful")
strip_comments(some_lines)
strip_comments(some_lines, retain.percent.symbol = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.