public SafeHtml convertMarkdownToHtml(final String rawMarkdown) {
        if (NullSafe.isBlankString(rawMarkdown)) {
            return SafeHtmlUtils.EMPTY_SAFE_HTML;
        } else {
            final HtmlBuilder htmlBuilder = HtmlBuilder.builder();
            appendMarkdownInDiv(htmlBuilder, rawMarkdown);
            return htmlBuilder.toSafeHtml();
        }
    }
Converts the supplied markdown into html with appropriate syntax highlighting.
The markdown is surrounded by a container div.
<p><b>NOTE:</b> if the markdown has come from user content then it cannot be trusted, so
you should contain the resulting html in a sandboxed iframe or add other layers of protection
from scripting in the markdown.</p>
stroom-core-client/src/main/java/stroom/entity/client/presenter/MarkdownConverter.java