GitHub Flavored Markdown renderer with fenced code block highlighting, clickable header anchor links.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dmitri Shuralyov c3a9aa4746 gfmstyle: support module mode
In module mode, build.Import can only find Go packages, not arbitrary
directories in a GOPATH workspace.
2021-02-28 16:31:09 -05:00
gfmstyle gfmstyle: support module mode 2021-02-28 16:31:09 -05:00
.travis.yml add LICENSE file 2021-02-28 16:30:19 -05:00
go.mod Add minimal go.mod, go.sum. (#22) 2018-10-01 23:59:57 -04:00
go.sum Add minimal go.mod, go.sum. (#22) 2018-10-01 23:59:57 -04:00
LICENSE add LICENSE file 2021-02-28 16:30:19 -05:00
main.go Update for octicon package rename. 2018-06-02 19:31:35 -04:00
main_test.go Rename Header to Heading; deprecate old one. 2017-02-10 12:20:23 -05:00
README.md add LICENSE file 2021-02-28 16:30:19 -05:00
sanitize_test.go Simplify code, fix lint issues. 2016-12-22 22:03:41 -05:00

github_flavored_markdown

Go Reference Build Status

Package github_flavored_markdown provides a GitHub Flavored Markdown renderer with fenced code block highlighting, clickable heading anchor links.

The functionality should be equivalent to the GitHub Markdown API endpoint specified at https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode, except the rendering is performed locally.

See examples for how to generate a complete HTML page, including CSS styles.

Installation

go get github.com/shurcooL/github_flavored_markdown

Directories

Path Synopsis
gfmstyle Package gfmstyle contains CSS styles for rendering GitHub Flavored Markdown.

License