damiankorcz / Prism-Theme

A Comprehensive, Highly-Customisable and Elegant Light/Dark Theme for Obsidian.md
https://www.buymeacoffee.com/DamianKorcz
MIT License
369 stars 13 forks source link

Syntax Highlighting for code blocks not working in view mode #146

Closed devpixde closed 9 months ago

devpixde commented 9 months ago

Describe the bug Syntax highlighting works for several languages only in edit mode but not in view mode. (in View mode all is black) Working languages: e.g. javascript, css, Not working languages: e.g. ruby, shell

To Reproduce create a code block for ruby in edit mode ruby code is highlighted, in view mode all text is only black.

Expected behavior Syntax highlighting should work in view mode for every supported language

devpixde commented 9 months ago

No idea why, but today it worked as expected.

damiankorcz commented 9 months ago

Hi @devpixde, Let me know if it happens again and if you have a reproducable way to have it happen. I'll close this until then.