Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 605 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 605 Bytes

Markdown Parser

⚠️ WARNING: Do not use in a production environment. For a better Go Markdown parser, consider goldmark.

This parser is a personal project, built out of curiosity and fun. I created it to compile my CV from Markdown to Html (and then to Pdf with some styling).

Usage example

package main

import (
    "fmt"
    "github.com/notpaulmartin/mdParser"
)

func main() {
    markdown := "# Hello\nWorld"
    html := mdParser.MdToHtml(markdown)
    fmt.Println(html)
}

Open example on goplay.space