mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 16:44:17 +02:00
fix: expand path before rendering style
This commit is contained in:
parent
bcd1296ce5
commit
880e0c2a39
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue