#' get rid of all latex compilation files
#' @param directory a character string indicating a file path.
nettoie<-function(directory=getwd()){
file.remove(file.path(directory,unique(unlist(sapply(c("\\.log$",
"\\.dvi$",
"\\.backup$",
"~$",
"\\.bbl$",
"\\.nav$",
"\\.out$",
"\\.snm$",
"\\.vrb$",
"\\.blg$",
"\\.toc$",
"\\.lot$",
"\\.aux$"),function(x){
grep(x,list.files(path = directory),value=TRUE)})))))}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.