Skip to content

informeai/markhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markhub

Parser for markdown using api github.

Install

Get of module.

go get github.com/informeai/markhub

Usage

Create markhub.

m := NewMarkHub()

Read of string markdown.

err := m.ParseString("# this is h1")
t := m.HTML()
fmt.Println(t)

Or read of file.

err := m.ParseFile(".test.md")
t := m.HTML()
fmt.Println(t)

Serve

Serving of local address.

err := m.ParseFile(".test.md")
err = m.Serve(":8080")

by wellington gadelha 👍

About

:octocat: Parser for github markdown.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published