Documentation
¶
Overview ¶
Package marp implements the Marp Markdown backend for slidekit.
Index ¶
- type Backend
- func (b *Backend) Apply(_ context.Context, ref model.Ref, diff *model.Diff) error
- func (b *Backend) Create(_ context.Context, deck *model.Deck) (model.Ref, error)
- func (b *Backend) Info() model.BackendInfo
- func (b *Backend) Plan(_ context.Context, ref model.Ref, desired *model.Deck) (*model.Diff, error)
- func (b *Backend) Read(ctx context.Context, ref model.Ref) (*model.Deck, error)
- type Frontmatter
- type Reader
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend implements the model.Backend interface for Marp Markdown files.
type Frontmatter ¶
type Frontmatter struct {
Marp bool
Theme string
Paginate bool
Style string
Custom map[string]string
}
Frontmatter holds parsed YAML frontmatter.
type Reader ¶
type Reader struct{}
Reader parses Marp Markdown files into the canonical slide model.
Click to show internal directories.
Click to hide internal directories.