markdown

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package markdown provides shared markdown-to-terminal rendering used by both the preview pane and the chat panel.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderStatic

func RenderStatic(source string, width int) []string

RenderStatic renders markdown content using glamour and returns the result as a slice of lines. This is a pure function safe for concurrent use in tea.Cmd goroutines.

func Style

func Style() gansi.StyleConfig

Style returns a glamour DarkStyleConfig with heading prefixes removed so that "## Heading" renders as styled "Heading" without the leading hash marks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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