This function hard codes some of the common extensions that we deal with.
A character string of the filename, with the extension present.
If none of the known extensions knit.md, utf8.md, R or Rmd are found, then the last period onwards are removed. See the examples.
If no extensions are found, the original filename is returned.
A character string, with the extension removed.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.