###### tags: `tutorials` # Markdown with XSLT ``` <dependency> <groupId>org.commonmark</groupId> <artifactId>commonmark</artifactId> <version>0.17.2</version> </dependency> ``` ``` Parser parser = Parser.builder().build(); Node node = parser.parse(資料庫內容); HtmlRenderer renderer = HtmlRenderer.builder().build(); String html = renderer.render(node); ``` ### 建立 xslt ``` Element exampleElement = document.createElement("example"); CDATASection cDATASection = document.createCDATASection(html); exampleElement.appendChild(cDATASection); ``` ### xsl `<xsl:value-of disable-output-escaping="yes" select="example"/>`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up