Here is the code that I use to translate Markdown into HTML:
val flavour = CommonMarkFlavourDescriptor()
val parsedTree = MarkdownParser(flavour).buildMarkdownTreeFromString(markdown)
val html = HtmlGenerator(markdown, parsedTree, flavour).generateHtml()
Here is the code that I use to translate Markdown into HTML:
If it is designed for security, how to bypass it?