CommonMark wrapper for Go
Go
Latest commit baf45d4 Jul 16, 2016 @rhinoman updated to cmark 0.26.1
Permalink
Failed to load latest commit information.
test_data Added cmark_parse_file Nov 29, 2014
.gitattributes adding .gitattribute file Feb 14, 2015
.gitignore updated to cmark 0.25.2 Mar 26, 2016
.travis.yml updated to cmark 0.25.2 Mar 26, 2016
LICENSE some cleanup. License updates Feb 14, 2015
README.md
blocks.c updated to cmark 0.26.1 Jul 16, 2016
buffer.c updated to cmark 0.26.1 Jul 16, 2016
buffer.h updated to cmark 0.26.1 Jul 16, 2016
case_fold_switch.inc Re-added commits from commit 825524d Feb 13, 2015
chunk.h updated to cmark 0.26.1 Jul 16, 2016
cmark.c
cmark.h updated to cmark 0.26.1 Jul 16, 2016
cmark_ctype.c updated to cmark 0.26.1 Jul 16, 2016
cmark_ctype.h
cmark_export.h updated to cmark 0.22 Aug 26, 2015
cmark_version.h
commonmark.c updated to cmark 0.26.1 Jul 16, 2016
commonmark.go
commonmark_test.go updated to cmark 0.25.2 Mar 26, 2016
config.h updated to cmark 0.25.2 Mar 26, 2016
entities.inc Updated to cmark 0.21.0 Jul 15, 2015
houdini.h updated to cmark 0.22 Aug 26, 2015
houdini_href_e.c updated to cmark 0.22 Aug 26, 2015
houdini_html_e.c updated to cmark 0.22 Aug 26, 2015
houdini_html_u.c updated to cmark 0.23.0 Dec 30, 2015
html.c updated to cmark 0.26.1 Jul 16, 2016
inlines.c updated to cmark 0.26.1 Jul 16, 2016
inlines.h
iter.go C API Change. Jan 11, 2015
iterator.c updated to cmark 0.26.1 Jul 16, 2016
iterator.h updated to cmark 0.26.1 Jul 16, 2016
latex.c updated to cmark 0.26.1 Jul 16, 2016
man.c updated to cmark 0.26.1 Jul 16, 2016
node.c updated to cmark 0.26.1 Jul 16, 2016
node.go
node.h updated to cmark 0.26.1 Jul 16, 2016
parser.h
references.c updated to cmark 0.26.1 Jul 16, 2016
references.h updated to cmark 0.26.1 Jul 16, 2016
render.c updated to cmark 0.26.1 Jul 16, 2016
render.h
scanners.c updated to cmark 0.26.1 Jul 16, 2016
scanners.h
scanners.re updated to cmark 0.26.1 Jul 16, 2016
utf8.c updated to cmark 0.23.0 Dec 30, 2015
utf8.h
xml.c

README.md

go-commonmark

Build Status

Description

go-commonmark is a Go (golang) wrapper for the CommonMark C library

Installation

go get github.com/rhinoman/go-commonmark

Note: The cmark C reference implementation has been folded into this repository, no need to install it separately. It will be built automagically by cgo.

Documentation

See the Godoc: http://godoc.org/github.com/rhinoman/go-commonmark

Example Usage

If all you need is to convert CommonMark text to Html, just do this:

import "github.com/rhinoman/go-commonmark"

...

    htmlText := commonmark.Md2Html(mdText)