markdown

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStyle

func GetStyle(defaultStyle string) string

func Render

func Render(text, style string) (string, error)

func RenderWithBaseURL added in v1.8.0

func RenderWithBaseURL(text, style, baseURL string) (string, error)

func RenderWithOpts added in v1.8.0

func RenderWithOpts(text, style string, opts RenderOpts) (string, error)

func RenderWithWrap added in v1.8.0

func RenderWithWrap(text, style string, wrap int) (string, error)

func WithoutIndentation added in v1.8.0

func WithoutIndentation() glamour.TermRendererOption

func WithoutWrap added in v1.8.0

func WithoutWrap() glamour.TermRendererOption

Types

type RenderOpts added in v1.8.0

type RenderOpts []glamour.TermRendererOption

Jump to

Keyboard shortcuts

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