Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StyleConfig ¶
func StyleConfig() gansi.StyleConfig
StyleConfig returns the default Glamour style configuration.
func SummarizeSource ¶
func TruncateString ¶
TruncateString is a convenient wrapper around truncate.TruncateString.
Types ¶
type Common ¶
type Common struct { Copy *osc52.Output Styles *styles.Styles KeyMap *keymap.KeyMap Width int Height int Zone *zone.Manager }
Common is a struct all components should embed.
Click to show internal directories.
Click to hide internal directories.