This commit is contained in:
Gennaro Tedesco 2026-08-06 13:11:22 +08:00 committed by GitHub
commit 3102e0bcdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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