Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
Functions ¶
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.