md2html

package module
v0.0.0-...-2123506 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: AGPL-3.0 Imports: 12 Imported by: 1

README

md2html

GoDoc Build Status Go Report Card Sourcegraph

md2html library helps developers convert Markdown to HTML.

Contact

Le Minh Tri @ansidev.

License

This source code is available under the AGPL-3.0 LICENSE.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(input []byte, options Options) (string, error)

Convert converts markdown to HTML string

Types

type Options

type Options struct {
	HTMLTemplate     string
	ExcerptSeparator string
	Style            string
	Minify           bool
}

Options for converting from markdown to HTML

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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