MarkdownBodyTag
struct MarkdownBodyTag : UnsafeUnescapedLeafTag
Renders formatEscapedMarkdown‘s Markdown output inside a <div class="markdown-body"> so
site CSS can style the Markdown-specific elements (headings, tables) distinctly.
Usage: #markdownTextTag(String) -> String
-
Declaration
Swift
func render(_ ctx: LeafContext) throws -> LeafData
View on GitHub