Skip to content

gastonche/gleam_md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

render_md

Package Version Hex Docs

gleam add render_md
import render_md

pub fn main() {
  "
# Header 1 goes here
sub title
## Header 2

header 1
========

header 2
--------

*Italic*, _italic_ and **bold**.

[Markdown Guide](https://www.markdownguide.org/)

![Markdown Logo](https://markdown-here.com/img/icon256.png)

---

> Blockquote

* List item 1
* List item 2

> This is an important
> quote
> to match multi line
>> also a nested quote

Paragraph

1. Ordered list 1
1. Ordered list 2
    - Inner 1
    - Inner 2
" |> render_md.render
}

Further documentation can be found at https://hexdocs.pm/render_md.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

About

A dead simple markdown renderer for gleam

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages