Documentation
¶
Index ¶
Constants ¶
View Source
const Indentation = ` `
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ASCIIRenderer ¶
type ASCIIRenderer struct {
Indentation string
// contains filtered or unexported fields
}
ASCIIRenderer is a blackfriday.Renderer intended for rendering markdown documents as plain text, well suited for human reading on terminals.
func (*ASCIIRenderer) RenderFooter ¶
func (r *ASCIIRenderer) RenderFooter(w io.Writer, ast *blackfriday.Node)
RenderFooter writes document footer.
func (*ASCIIRenderer) RenderHeader ¶
func (r *ASCIIRenderer) RenderHeader(w io.Writer, ast *blackfriday.Node)
RenderHeader writes document preamble and TOC if requested.
func (*ASCIIRenderer) RenderNode ¶
func (r *ASCIIRenderer) RenderNode(w io.Writer, node *blackfriday.Node, entering bool) blackfriday.WalkStatus
render markdown to text
type CommandGroup ¶
type CommandGroups ¶
type CommandGroups []CommandGroup
func AddAdditionalCommands ¶
func AddAdditionalCommands(g CommandGroups, message string, cmds []*cobra.Command) CommandGroups
func (CommandGroups) Add ¶
func (g CommandGroups) Add(c *cobra.Command)
Click to show internal directories.
Click to hide internal directories.