Documentation ¶
Index ¶
- func GetStyle(defaultStyle string) string
- func Render(text, style string) (string, error)
- func RenderWithBaseURL(text, style, baseURL string) (string, error)
- func RenderWithOpts(text, style string, opts RenderOpts) (string, error)
- func RenderWithWrap(text, style string, wrap int) (string, error)
- func WithoutIndentation() glamour.TermRendererOption
- func WithoutWrap() glamour.TermRendererOption
- type RenderOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderWithBaseURL ¶
func RenderWithOpts ¶
func RenderWithOpts(text, style string, opts RenderOpts) (string, error)
func WithoutIndentation ¶
func WithoutIndentation() glamour.TermRendererOption
func WithoutWrap ¶
func WithoutWrap() glamour.TermRendererOption
Types ¶
type RenderOpts ¶
type RenderOpts []glamour.TermRendererOption
Click to show internal directories.
Click to hide internal directories.