/mdParser

Markdown-Parser written from scratch

Primary LanguageGo

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