core :: String :: md_to_html
self
as markdown and return the HTML representation. var md = "Hello World!" var html = md.md_to_html assert html == "
Hello World!
\n"
# Parse `self` as markdown and return the HTML representation
#.
# var md = "**Hello World!**"
# var html = md.md_to_html
# assert html == "<p><strong>Hello World!</strong></p>\n"
fun md_to_html: Writable do
var processor = new MarkdownProcessor
return processor.process(self)
end
lib/markdown/markdown.nit:2605,2--2613,4