Versions in this module Expand all Collapse all v1 v1.1.0 Apr 14, 2024 v1.0.0 Apr 6, 2024 Changes in this version + func RenderMarkdown(width int, content string) (string, error) + type Model struct + FileName string + StatusMessage string + StatusMessageLifetime time.Duration + Viewport viewport.Model + ViewportDisabled bool + func New() Model + func (m *Model) GotoBottom() + func (m *Model) GotoTop() + func (m *Model) NewStatusMessageCmd(s string) tea.Cmd + func (m *Model) SetFileNameCmd(filename string) tea.Cmd + func (m *Model) SetSizeCmd(w, h int) tea.Cmd + func (m *Model) SetViewportDisabled(disabled bool) + func (m Model) Init() tea.Cmd + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string