Documentation
¶
Overview ¶
Package markdown provides a high-performance markdown renderer for terminal output. This is a custom implementation optimized for speed, replacing glamour for TUI rendering.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGlamourRenderer ¶ added in v1.8.2
func NewGlamourRenderer(width int) *glamour.TermRenderer
NewGlamourRenderer creates a markdown renderer using glamour. This is kept for compatibility and testing purposes.
Types ¶
type FastRenderer ¶ added in v1.8.2
type FastRenderer struct {
// contains filtered or unexported fields
}
FastRenderer is a high-performance markdown renderer optimized for terminal output. It directly parses and renders markdown without building an intermediate AST.
func NewFastRenderer ¶ added in v1.8.2
func NewFastRenderer(width int) *FastRenderer
NewFastRenderer creates a new fast markdown renderer with the given width.
Click to show internal directories.
Click to hide internal directories.