Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
/ moondown Public archive

A janet markdown parsing library based on sundown

License

Notifications You must be signed in to change notification settings

joy-framework/moondown

Repository files navigation

alert!

moondown has been archived!

check out https://github.com/pyrmont/markable instead

moondown

Render markdown as html with janet

Install

Add to your project.janet file

{:dependencies [{:repo "https://github.com/joy-framework/moondown" :tag "0.2.0"}]}

Use

(import moondown)

(= "<h1>Title</h1>\n" (moondown/render "# Title"))

And that's it!