We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WithTheme
1 parent 421eac2 commit f16af7cCopy full SHA for f16af7c
pkg/markdown/markdown.go
@@ -30,7 +30,7 @@ func WithWrap(w int) glamour.TermRendererOption {
30
31
// WithTheme is a rendering option that sets the theme to use while rendering the markdown.
32
// It can be used in conjunction with [term.Theme].
33
-// If the enviornment variable GLAMOUR_STYLE is set, it will take precedence over the provided theme.
+// If the environment variable GLAMOUR_STYLE is set, it will take precedence over the provided theme.
34
func WithTheme(theme string) glamour.TermRendererOption {
35
style := os.Getenv("GLAMOUR_STYLE")
36
if style == "" || style == "auto" {
0 commit comments