markdown

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package markdown renders markdown and wraps plain text for the terminal. Every line fits the given width and carries its own styling, so any line can be shown without the lines before it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render added in v1.0.0

func Render(src string, width int) []string

func Wrap added in v1.0.0

func Wrap(s string, st lipgloss.Style, width int) []string

Wrap wraps plain text, keeping its line breaks and spacing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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