Documentation ¶ Index ¶ Variables func New(ctx context.Context) mux.Screen type Markdown func (s *Markdown) Init() tea.Cmd func (s *Markdown) Update(msg tea.Msg) (taro.Model, tea.Cmd) func (s *Markdown) View(state *tty.State) Constants ¶ This section is empty. Variables ¶ View Source var EXAMPLE_MD string View Source var Placeholder stories.InitFunc = func(ctx context.Context) (mux.Screen, error) { return margins.Add(ctx, New(ctx)), nil } Functions ¶ func New ¶ func New(ctx context.Context) mux.Screen Types ¶ type Markdown ¶ type Markdown struct { // contains filtered or unexported fields } Renders some placeholder markdown text. Just used in stories. func (*Markdown) Init ¶ func (s *Markdown) Init() tea.Cmd func (*Markdown) Update ¶ func (s *Markdown) Update(msg tea.Msg) (taro.Model, tea.Cmd) func (*Markdown) View ¶ func (s *Markdown) View(state *tty.State) Source Files ¶ View all Source files module.go stories.go Click to show internal directories. Click to hide internal directories.