gfmutil

package
Version: v0.0.0-...-93f0716 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2020 License: MIT Imports: 4 Imported by: 3

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL