-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello and thank you for your work!
I've noticed an issue with codeblock rendering when using non-native Pygments syntaxes.
Here is my config (streamdown version 0.33.0):
[features]
CodeSpaces = false
Clipboard = true
Logging = false
Timeout = 10.0
Savebrace = true
[style]
Margin = 2
ListIndent = 2
PrettyPad = true
PrettyBroken = true
Width = 0
HSV = [0.147, 0.137, 0.976]
Dark = { H = 1.2, S = 1.5, V = 1.1 }
Grey = { H = 1.00, S = 1.15, V = 0.46 }
Mid = { H = 1.57, S = 1.4, V = 0.84 }
Symbol = { H = 3.60, S = 3.60, V = 0.52 }
Head = { H = 0.43, S = 3.50, V = 0.41 }
Bright = { H = 0.43, S = 3.60, V = 0.50 }
Syntax = "gruvbox-light"
Here is the command I'm running:
llm -f $XDG_CONFIG_HOME/llm/fragments/markdown-output.md "How do I update images when using nix's oci-containers? show me how to do this imperatively and with nix" | sd -c ~/Library/Application\ Support/streamdown/config.nongruv.toml
When I change it to anything but 'native' and 'solarized-light' syntaxes, the following issues show up:
- Codeblocks are rendered empty
- Codeblocks are missing some content (usually at the start of the block)
- Codeblocks are not a fixed width
I encountered this with gruvbox-light, perldoc, friendly and a number of others. All I changed in the config was the Syntax setting
Here's some example images:

Metadata
Metadata
Assignees
Labels
No labels