obsidian-things
obsidian-things copied to clipboard
Code Syntax highlighting is messed up all of a sudden.
Hello,
After updating to the last version of the theme, my code blocks syntax highlighting is all messed up and showing mainly 1 colour.
anybody facing the same issue?
Edit:
This was the syntax before i updated
Yeah so i manually reverted to an older version (2.0.0) and the syntax was back normal.
hey @lukasschwab and @omarcevi, thanks for creating the issue. i just released a new version of the theme that should address some of your concerns with syntax highlighting: https://github.com/colineckert/obsidian-things/releases/tag/2.1.15
lmk if this looks better and if so, pls close this issue. thanks!
Hi @colineckert — this is my first time seeing this thread. Was there something you wanted me to look at?
oops sorry @lukasschwab. you're good, i @
you by accident.
Yeah its fixed now closing the ticket :)
Hello again, the code blocks are all fine in the editing view, but they're not in the reading view. It affects the publish feature. the syntax coloring is not the same.
I can confirm the issue. Editing is fine, viewing is single-color (red) only. Would be great to have this fixed.
Edit: I just realized that it's depending on the language. So it's only half-broken :-) See attached screenshots Edit2: I think it takes two different sources for the coloring. The "-m" which has a darker brown in edit-mode is not colored differently in bash. Edit3: My iterm2 with https://github.com/zsh-users/zsh-syntax-highlighting renders different colors. Maybee it could be nice to select the desired "color-scheeme"? but I think I'm asking too much here...