Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyHyperlinks ¶
ApplyHyperlinks wraps visible link text and URLs with OSC 8 sequences so supporting terminals open them on click.
func Markdown ¶
Markdown renders markdown for the TUI preview viewport. Glamour's renderer is not safe for concurrent use; the mutex covers the full render.
func SetDarkTheme ¶
func SetDarkTheme(dark bool)
SetDarkTheme switches glamour markdown rendering between dark and light palettes.
func TestRenderer ¶
func TestRenderer() (*glamour.TermRenderer, error)
TestRenderer returns a glamour renderer for tests (width 80).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.