I have create a shiny app with a html genereated by a Rmd file, using code as below:
but it does not work when there exist chinese word, I have tried to generated a utf-8 format Rmd, but it still does not work.
while it works with html=HTML(readLines(rmarkdown::render(Rmdfile),encoding="UTF-8")), but the dashboard sidebarmenu does not friend with includeHTML, so I have to use includeMarkdwon, can you help me?
html=HTML(markdown::markdownToHTML(knit(Rmdfile,quiet=TRUE),extensions=setdiff(markdownExtensions(),'no_intra_emphasis'),options=c("hard_wrap","use_xhml","smartypants")[3]))
I have create a shiny app with a html genereated by a Rmd file, using code as below: but it does not work when there exist chinese word, I have tried to generated a utf-8 format Rmd, but it still does not work. while it works with html=HTML(readLines(rmarkdown::render(Rmdfile),encoding="UTF-8")), but the dashboard sidebarmenu does not friend with includeHTML, so I have to use includeMarkdwon, can you help me?
html=HTML(markdown::markdownToHTML(knit(Rmdfile,quiet=TRUE),extensions=setdiff(markdownExtensions(),'no_intra_emphasis'),options=c("hard_wrap","use_xhml","smartypants")[3]))