Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func WriteGitHubFlavoredMarkdownViaGitHub

    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

      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.

        Types

        This section is empty.

        Source Files