From 880e0c2a397b92afa44bf447939454bce946b889 Mon Sep 17 00:00:00 2001 From: Gennaro Tedesco Date: Sun, 8 Jun 2025 11:53:29 +0200 Subject: [PATCH] fix: expand path before rendering style --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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