An open API service indexing awesome lists of open source software.

https://github.com/genieframework/stipplemarkdown.jl

Render Markdown text in your Genie apps
https://github.com/genieframework/stipplemarkdown.jl

Last synced: 5 months ago
JSON representation

Render Markdown text in your Genie apps

Awesome Lists containing this project

README

          

# 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.

```julia
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)
```