Hello Lucee Core Dev Team!
Consider/try running the following code with latest 220.127.116.113 Snapshot:
<cfsavecontent variable="someMarkdown"> # Checking markDown code fences with markdowntoHTML() tested on 18.104.22.1683-SNAPSHOT ``` <b>this don't work</p> ``` ```html <p>this also don't work</p> ``` Also using triple "~" aren't working. [Lucee seems to use](https://github.com/lucee/Lucee/blob/508b092e05dd51179da9e5be2ccad88b91928c14/core/src/main/java/lucee/runtime/functions/string/MarkdownToHTML.java#L8) https://github.com/rjeschke/txtmark for that, which allows [fenced code blocks](https://github.com/rjeschke/txtmark). Still, writing code blocks is possible without code fences by using basic syntax with four spaces or one tab: <h1>Inserting Multiline-Code using tabs seem to work</h1> <p>That might work as a workaround for using code fences for the moment</p> <h3>Code Block using four spaces</h3> <p>WORKS</p> </cfsavecontent> <cfscript> echo( markdownToHTML( someMarkdown ) ); </cfscript>
I can’t find any related issue on Jira, only [LDEV-3783] - Lucee. Should I post an issue on Jira?
Don’t forget to tell us about your stack!
Java Version: AdoptOpenJDK\jdk-22.214.171.124-hotspot
Underdow Version: WildFly / Undertow - 2.2.24.Final (CommandBox)
Lucee Version: 126.96.36.1993 Snapshot