Skip to content

Commit f16af7c

Browse files
authored
Fix a typo in the doc of WithTheme (#134)
1 parent 421eac2 commit f16af7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/markdown/markdown.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func WithWrap(w int) glamour.TermRendererOption {
3030

3131
// WithTheme is a rendering option that sets the theme to use while rendering the markdown.
3232
// 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.
33+
// If the environment variable GLAMOUR_STYLE is set, it will take precedence over the provided theme.
3434
func WithTheme(theme string) glamour.TermRendererOption {
3535
style := os.Getenv("GLAMOUR_STYLE")
3636
if style == "" || style == "auto" {

0 commit comments

Comments
 (0)