lucee.Component
cbmarkdown.Processor
Ortus Markdown Module Copyright 2013 Ortus Solutions, Corp www.ortussolutions.com --- Convert markdown to HTML via the MarkdownJ Java library
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
emojiService
|
true
|
false
|
|
any
|
parser
The internal parser.
|
true
|
false
|
|
any
|
renderer
The internal renderer.
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init(any javaloader, struct options)
Constructor. |
|
| Method Summary | |
|---|---|
private any
|
createOptions(struct options)
Create a parser options object for the FlexMark parser. |
private struct
|
defaultOptions()
Return the default parser options to merge with the user's options. |
string
|
getEmojiService()
|
string
|
getParser()
|
string
|
getRenderer()
|
any
|
setEmojiService(any emojiService)
|
any
|
setParser(any parser)
|
any
|
setRenderer(any renderer)
|
any
|
toHTML(any txt)
Convert markdown to HTML. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
javaloader - The javaloader classoptions - The module options| Property Detail |
|---|
access - publicrequired - falsereturntype - anyinject - EmojiService@cbemojiserializable - trueThe internal parser
access - publicrequired - falsereturntype - anyserializable - trueThe internal renderer
access - publicrequired - falsereturntype - anyserializable - true| Method Detail |
|---|
Create a parser options object for the FlexMark parser.
options - A struct of options for the parser.Return the default parser options to merge with the user's options.
emojiServiceparserrendererConvert markdown to HTML
txt - The markdown text to convert