Closed kamransoomro84 closed 11 months ago
This issue isn't directly related to the Prism theme. Both view modes use different APIs for syntax highlighting (The Live Preview uses CodeMirror and the Reading mode uses PrismJS) hence the inconsistency. This issue is prevelant in other themes too.
I would suggest looking through the Obsidian Forums and seeing if there are reports of this issue and if not creating your own. There's nothing I can do to mitigate this.
Ok thanks.
Describe the bug The heading says it all basically. I have a python code block. The syntax highlighting works in the editing view but not in the reading view. See screenshot below:
To Reproduce Create a simple python code block and ensure you are in Reading view.
Expected behavior You should be able to see syntax highlighting, like in editing view.
Screenshots Please see above.
Setup Information
Additional context N/A