mdplain

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlainMarkdown

func PlainMarkdown(markdown string) (string, error)

Clean runs a VERY naive cleanup of markdown text to make it more palatable as plain text.

Types

type TextRender added in v0.19.0

type TextRender struct{}

func NewTextRenderer added in v0.19.0

func NewTextRenderer() *TextRender

func (*TextRender) AddOptions added in v0.19.0

func (r *TextRender) AddOptions(...renderer.Option)

func (*TextRender) Render added in v0.19.0

func (r *TextRender) Render(w io.Writer, source []byte, n ast.Node) error

Jump to

Keyboard shortcuts

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