Description Usage Arguments Value Examples
View source: R/strip_manuscript.R
Strip Markdown from Manuscript
1 |
file |
A markdown file for parsing |
A data.frame
with text and edits
1 2 3 4 5 6 7 8 | if (requireNamespace("english", quietly = TRUE)) {
file = system.file("extdata", "08_DST_R_packages.md",
package = "didactr")
# from https://stackoverflow.com/questions/37462126/regex-match-markdown-link
# md_regex = "(?:__|[*#])|\[(.*?)\]\(.*?\)"
res = strip_manuscript(file)
res
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.