Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model interface { layout.Model layout.Sizeable // Render returns the rendered content for this message view Render(width int) string // Height returns the height this view will take when rendered at the given width Height(width int) int // Message returns the underlying message Message() *types.Message // SetRenderer sets the markdown renderer SetRenderer(renderer *glamour.TermRenderer) }
Model represents a view that can render a message
Click to show internal directories.
Click to hide internal directories.