go: github.com/shurcooL/go/gfmutil Index | Files

package gfmutil

import "github.com/shurcooL/go/gfmutil"

Package gfmutil offers functionality to render GitHub Flavored Markdown to io.Writer.

Index

Package Files

gfmutil.go

func WriteGitHubFlavoredMarkdownViaGitHub Uses

func WriteGitHubFlavoredMarkdownViaGitHub(w io.Writer, markdown []byte)

WriteGitHubFlavoredMarkdownViaGitHub converts GitHub Flavored Markdown to full HTML page and writes it to w by using GitHub API. It assumes that GFM CSS is available at /assets/gfm/gfm.css.

func WriteGitHubFlavoredMarkdownViaLocal Uses

func WriteGitHubFlavoredMarkdownViaLocal(w io.Writer, markdown []byte)

WriteGitHubFlavoredMarkdownViaLocal converts GitHub Flavored Markdown to full HTML page and writes it to w. It assumes that GFM CSS is available at /assets/gfm/gfm.css.

Package gfmutil imports 4 packages (graph) and is imported by 5 packages. Updated 2016-08-02. Refresh now. Tools for package owners.