Documentation
¶
Overview ¶
Package markdown provides an output plugin for exporting themes to markdown format.
Index ¶
- type Plugin
- func (p *Plugin) DefaultOutputDir() string
- func (p *Plugin) Description() string
- func (p *Plugin) Generate(themeData *colour.ThemeData) (map[string][]byte, error)
- func (p *Plugin) GetFlagHelp() []output.FlagHelp
- func (p *Plugin) Name() string
- func (p *Plugin) RegisterFlags(cmd *cobra.Command)
- func (p *Plugin) SetVerbose(verbose bool)
- func (p *Plugin) Validate() error
- func (p *Plugin) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the output.Plugin interface for markdown theme export.
func (*Plugin) DefaultOutputDir ¶
DefaultOutputDir returns the default output directory for this plugin.
func (*Plugin) Description ¶
Description returns the plugin description.
func (*Plugin) GetFlagHelp ¶
GetFlagHelp returns help information for all plugin flags.
func (*Plugin) RegisterFlags ¶
RegisterFlags registers plugin-specific flags with the cobra command.
func (*Plugin) SetVerbose ¶
SetVerbose enables or disables verbose logging for the plugin.
Click to show internal directories.
Click to hide internal directories.