This module will give you markdown processing capabilities via the flexmark-java project: https://github.com/vsch/flexmark-java
Apache License, Version 2.0.
Just use the CommandBox to install or drop into your modules folder:
box install cbmarkdown
The module registers the following mapping in WireBox: [email protected]
. Which is the class you will use to process mardown into HTML. There is one simple function to call on the processor:
toHTML( required txt )
- Convert markdown text to HTML.A subset of the flexmark options are supported. These can be configured in your module settings.
settings = {
tableOptions = {
// Treat consecutive pipes at the end of a column as defining spanning column.
columnSpans = true,
// Whether table body columns should be at least the number or header columns.
appendMissingColumns = true,
// Whether to discard body columns that are beyond what is defined in the header
discardExtraColumns = true,
// Class name to use on tables
className = "table",
// When true only tables whose header lines contain the same number of columns as the separator line will be recognized
headerSeparationColumnMatch = true
}
};
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com
####HONOR GOES TO GOD ABOVE ALL Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.
"Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. ." Romans 5:5
###THE DAILY BREAD
"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12
cbemoji
libraryHere are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.