Skip to content

GenieFramework/StippleMarkdown.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)