R/note_in_md_word.R

#' Print text input in word
#'
#' @param input tags id of textarea from shiny ui
#'
#' @return
#' @export
#' @examples
#' note_in_md_word("Please write note using **Markdown** syntax! ")
note_in_md_word=function(input=NULL){
  f1 = tempfile()
  writeLines(input, f1)
  return(knitr::asis_output(readLines(f1, encoding = 'UTF-8')) )
}

Try the noteMD package in your browser

Any scripts or data that you put into this service are public.

noteMD documentation built on May 2, 2019, 12:40 p.m.