markdown

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = Options{}

DefaultOptions is the default options for rendering Markdown content.

Functions

func Render

func Render(content string, options *Options) (string, error)

Render renders Markdown content into sanitized HTML that is safe to render anywhere.

When nil, options will default to DefaultOptions.

Types

type Options

type Options struct {
}

Options represents option for rendering Markdown content.

Directories

Path Synopsis
Package markdown parses and HTML-renders Markdown documents.
Package markdown parses and HTML-renders Markdown documents.

Jump to

Keyboard shortcuts

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