lucee.Componentcbmarkdown.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
|
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
|
getParser()
|
string
|
getRenderer()
|
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 optionsProperty Detail |
---|
The internal parser
access
- publicrequired
- falsereturntype
- anyserializable
- trueThe internal renderer
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod 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.
parser
renderer
Convert markdown to HTML
txt
- The markdown text to convert