Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Topics = []Topic{ {File: "man/expr-lang.md", Desc: "Overview for expr (built-in expression language)"}, {File: "contributing.md", Desc: "Information for improving Heimdall"}, {File: "formatting.md", Desc: "Description of output formats and filters"}, {File: "source.md", Desc: "Instructions for building Heimdall from source"}, {File: "themes", Desc: "Display a list of supported themes for syntax highlighting"}, {File: "why.md", Desc: fmt.Sprintf("Why %s?", color.New(color.Italic).Sprint("Heimdall"))}, }
Functions ¶
func NewHelpTopicCmd ¶
func Render ¶
Render returns the markdown rendered as a string. It does a series of checks to detect terminal width, color scheme, etc. to achieve the best possible formatting.
func WithBaseURL ¶
func WithBaseURL() glamour.TermRendererOption
WithBaseURL sets the base URL for relative links to the location of the GitHub project.
func WithWrap ¶
func WithWrap(w int) glamour.TermRendererOption
WithWrap sets the word wrap to w columns.
func WithoutIndentation ¶
func WithoutIndentation() glamour.TermRendererOption
WithoutIndentation removes margins to produce dense output.
Types ¶
Click to show internal directories.
Click to hide internal directories.