public class MarkdownProcessor extends Object
MarkdownProcessor markdown = new MarkdownProcessor();
String html = markdown.markdown("*italic* **bold**\n_italic_ __bold__");
Constructor and Description |
---|
MarkdownProcessor()
Creates a new Markdown processor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCodeBlockTemplate() |
static void |
main(String[] args) |
String |
markdown(String txt)
Perform the conversion from Markdown to HTML.
|
TextEditor |
runBlockGamut(TextEditor text) |
TextEditor |
runSpanGamut(TextEditor text) |
void |
setCodeBlockTemplate(String codeBlockTemplate) |
String |
toString() |
public String markdown(String txt)
txt
- - input in markdown formatpublic TextEditor runBlockGamut(TextEditor text)
public TextEditor runSpanGamut(TextEditor text)
public String getCodeBlockTemplate()
public void setCodeBlockTemplate(String codeBlockTemplate)
public static void main(String[] args)
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.