knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
zz <- textConnection("rd", "w") tools::Rd2txt("man/wellspell.Rd", zz) close(zz) rd <- gsub("\\*", "**", rd) rd <- gsub("\\'", "`", rd) rd <- gsub("\\'", "`", rd) rd <- gsub(" •", " -", rd) rd <- gsub(" ", "", rd) purrr::walk( rd[4:(grep("_\bU_\bs_\ba_\bg_\be:", rd) - 1)], function(x) { cat(x) cat(" \n") } )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.