Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (14 sloc) 369 Bytes
start_details <- function(state,summary){
sprintf('<details %s>%s',state, summary)
}
end_details <- function(){
paste('</details>','<br>',sep='\n')
}
body_details <- function(lang,text){
if(!details_env$device){
text <- sprintf('\n\n%s\n\n',text)
if(!is.null(lang))
text <- sprintf('```%s%s```',lang,text)
}
text
}
You can’t perform that action at this time.