gfmutil

package
v0.0.0-...-5fe729b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 4 Imported by: 7

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.

Jump to

Keyboard shortcuts

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