deathau / cm-editor-syntax-highlight-obsidian

A plugin for [Obsidian](https://obsidian.md) which allows syntax highlighting for code blocks in the editor.
499 stars 37 forks source link

Live preview not working #49

Closed kirankunigiri closed 2 years ago

kirankunigiri commented 2 years ago

When I use this in Live Preview mode, the code blocks become blank and nothing shows up. When I turn off live preview and use source code mode, it will work in the separate preview pane. I disabled all other plugins besides this one to make sure nothing is conflicting. I have a video of the bug here:

https://i.imgur.com/XNCnf7D.mp4

EDIT: Meant to post this in a different plugin repo, accidentally posted it here because this plugin is also used with that one.