Documentation ¶
Index ¶
- func Init(section *booklit.Section) booklit.Plugin
- type Plugin
- func (plugin *Plugin) B(content booklit.Content) booklit.Content
- func (plugin *Plugin) Bass(code booklit.Content) (booklit.Content, error)
- func (plugin *Plugin) BassAutolink(code booklit.Content) (booklit.Content, error)
- func (plugin *Plugin) BassLiterate(alternating ...booklit.Content) (booklit.Content, error)
- func (plug *Plugin) Commands(commandBlock booklit.Content) (booklit.Content, error)
- func (*Plugin) Construction(content booklit.Content) booklit.Content
- func (plugin *Plugin) Demo(demoFn string) booklit.Content
- func (plugin *Plugin) DemoLiterate(name booklit.Content, literate ...booklit.Content) (booklit.Content, error)
- func (plugin *Plugin) Demos(demos ...booklit.Content) booklit.Content
- func (plugin *Plugin) GroundDocs() (booklit.Content, error)
- func (plugin *Plugin) ScriptDocs() (booklit.Content, error)
- func (*Plugin) SideBySide(content ...booklit.Content) booklit.Content
- func (plugin *Plugin) StdlibDocs(name string, source booklit.Content) (booklit.Content, error)
- func (plugin *Plugin) Syntax(language string, code booklit.Content) (booklit.Content, error)
- func (plugin *Plugin) SyntaxTransform(language string, code booklit.Content, chromaStyle *chroma.Style, ...) (booklit.Content, error)
- func (plugin *Plugin) T(content booklit.Content) booklit.Content
- func (plug *Plugin) Term(term, definition booklit.Content, literate ...booklit.Content) error
- type Transformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct { Section *booklit.Section Base *baselit.Plugin // contains filtered or unexported fields }
func (*Plugin) BassAutolink ¶
func (*Plugin) BassLiterate ¶
func (*Plugin) DemoLiterate ¶ added in v0.8.0
func (*Plugin) StdlibDocs ¶
func (*Plugin) SyntaxTransform ¶
type Transformer ¶
func (Transformer) TransformAll ¶
func (t Transformer) TransformAll(str string) booklit.Sequence
Click to show internal directories.
Click to hide internal directories.