Parse Markdown subset to Respo virtual DOM
Dependencies
also checks https://github.com/Respo/respo-markdown.calcit
moon add tiye/respo-markdown{
"path": "tiye/respo-markdown",
"alias": "markdown"
}@markdown.comp_md("this is a `demo`")
@markdown.comp_md("this is a `demo`", class_name=class_name)
@markdown.comp_md_block("### this is a `demo`\n\nthis is second line\n\n```\nprintln(demo)```")
@markdown.comp_md_block(content, class_name=class_name, style=style, highlighter=highlighter)fn[T] comp_md_block(text : String, class_name? : String, style? : RespoStyle, highlighter? : (String, String) -> String) -> RespoNode[T]Install
Download zipParse Markdown subset to Respo virtual DOM
Dependencies