I have a crude but working solution. Suppose your help text is in markdown format add something like following in ui.R
helpModal('Help','myhelp',includeMarkdown("help/myhelp.md"))
and place the function below in global.R
helpModal <- function(title, link, content) {
html <- sprintf("<div id='%s' class='modal hide fade in' style='display: none; '>
<div class='modal-header'><a class='close' data-dismiss='modal' href='#'>×</a>
<h3>%s</h3>
</div>
<div class='modal-body'>%s</div>
</div>
<a data-toggle='modal' href='#%s' class='icon-question-sign'></a>", link, title, content, link)
Encoding(html) <- 'UTF-8'
HTML(html)
}
change to includeHTML if you want to use an html file