8000 GitHub - myrkvi/glemtext: Gemtext parser for Gleam
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

myrkvi/glemtext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glemtext

A small library for parsing Gemini's gemtext.

Package Version Hex Docs GitHub Actions: test.yml status

gleam add glemtext
import gleam/io
import glemtext

pub fn main() {
  let body = "# My site
this is my site! thank you for visiting

=> /about     About me
=> /projects  Projects
=> https://en.wikipedia.org/ Wikipedia"

  body
  |> glemtext.parse
  |> io.debug
}

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

Development

gleam test  # Run the tests
gleam shell # Run an Erlang shell
5394

About

Gemtext parser for Gleam

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0