diff --git a/utils/utils.go b/utils/utils.go index 9f33a1e..67c18e3 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -75,7 +75,7 @@ func GlamourStyle(style string, isCode bool) glamour.TermRendererOption { if style == styles.AutoStyle { return glamour.WithAutoStyle() } - return glamour.WithStylePath(style) + return glamour.WithStylePath(ExpandPath(style)) } // If we are rendering a pure code block, we need to modify the style to