final String cmd = pStore
.getString(MarkdownPreferencePage.PREF_MARKDOWN_COMMAND);
if (Utils.isBlank(cmd)
|| (cmd.startsWith("(") && cmd.contains("MarkdownJ"))) {
// Use MarkdownJ
MarkdownProcessor markdown = new MarkdownProcessor();
// MarkdownJ doesn't convert £s for some reason
text = text.replace("£", "£");
String html = markdown.markdown(text);
return html;
}
// Attempt to run external command
try {
final File md = File.createTempFile("tmp", ".md");