Description Usage Arguments Value Examples
Pandoc escapes square brackets in the HTML:md conversion, which makes the Rmarkdown invalid. This function un-escapes the brackets.
1 | clean_brackets(doc)
|
doc |
The markdown text to be cleaned |
A clean version of doc
1 2 3 4 5 | ## Not run:
doc <- "This is the issue \\[here\\]"
clean_brackets(doc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.