docs

package
v0.0.0-...-1adbf8b Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Render

func Render(md string) (string, error)

Render returns the markdown rendered as a string. It does a series of checks to detect terminal width, color scheme, etc. to achieve the best possible formatting.

func WithBaseURL

func WithBaseURL() glamour.TermRendererOption

WithBaseURL sets the base URL for relative links to the location of the GitHub project.

func WithWrap

func WithWrap(w int) glamour.TermRendererOption

WithWrap sets the word wrap to w columns.

func WithoutIndentation

func WithoutIndentation() glamour.TermRendererOption

WithoutIndentation removes margins to produce dense output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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