Package ca.cgjennings.text
Class MarkdownTransformer
- java.lang.Object
-
- ca.cgjennings.text.MarkdownTransformer
-
public class MarkdownTransformer extends java.lang.Object
- Author:
- chris
-
-
Constructor Summary
Constructors Constructor Description MarkdownTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultCodeBlockLanguage()
java.lang.String
render(java.lang.String markdownInput)
void
setDefaultCodeBlockLanguage(java.lang.String languageTag)
java.lang.String
toHtmlDocument(java.lang.String markdownInput)
java.lang.String
toHtmlDocument(java.lang.String markdownInput, java.lang.String title)
-
-
-
Method Detail
-
setDefaultCodeBlockLanguage
public void setDefaultCodeBlockLanguage(java.lang.String languageTag)
-
getDefaultCodeBlockLanguage
public java.lang.String getDefaultCodeBlockLanguage()
-
toHtmlDocument
public java.lang.String toHtmlDocument(java.lang.String markdownInput)
-
toHtmlDocument
public java.lang.String toHtmlDocument(java.lang.String markdownInput, java.lang.String title)
-
render
public java.lang.String render(java.lang.String markdownInput)
-
-