Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 532 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 532 Bytes

StippleMarkdown

Render Markdown text in your Genie apps

This package provides two new Stipple components: markdowntext and markdowncard. As arguments, You can either pass a string of Markdown text or a symbol that refers to a variable containing Markdown text.

using GenieFramework
using StippleMarkdown

@app begin
    @out txt = "**hello** world"
end

ui() = [ markdowntext(:txt), markdowntext("## Hello World!"), markdowncard(:txt), markdowncard("## Hello World!\n This is a Markdown card")]

@page("/", ui)