You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
Live Preview has done a number on this plugin. Code Blocks kinda work but things get weird when you start having split panes. It behaves like a shared instance of the post processor between leafs, in version 12 each leaf would have its own instance. All issues due to Live Preview are on hold, the recommended course of action is to build a Code Mirror 6 extension. I estimate this taking a significant amount of time and completely rebuilding this plugin. That's not something I can justify for a hobby project.
The post processor isn't guaranteed to run inside live preview. I can get it to run if I have a codeblock processor. Go figure.
Because of the way content is output in code mirror, a renderer such as [TOC] doesn't appear in the document like that. In full preview mode [TOC] can be found in the document verbatim, in live preview there is some code mirror shenanigans. See below:
Image of bug
Conclusion
I'm unsure how to fix this, live preview has broken this plugin in a couple of different ways. I'm going to let the dust settle on live preview and see what solutions the community comes up with.
The text was updated successfully, but these errors were encountered:
I'll be watching closely this issue and a possible fix, as your plugin is amazing, used by me all the time, but Live Preview cracks TOC the way you presented
Aidurber
changed the title
External Renderers not working in Live Preview
Funky Live Preview
Mar 24, 2022
Live Preview has done a number on this plugin. Code Blocks kinda work but things get weird when you start having split panes. It behaves like a shared instance of the post processor between leafs, in version 12 each leaf would have its own instance. All issues due to Live Preview are on hold, the recommended course of action is to build a Code Mirror 6 extension. I estimate this taking a significant amount of time and completely rebuilding this plugin. That's not something I can justify for a hobby project.
The post processor isn't guaranteed to run inside live preview. I can get it to run if I have a codeblock processor. Go figure.
Because of the way content is output in code mirror, a renderer such as
[TOC]
doesn't appear in the document like that. In full preview mode[TOC]
can be found in the document verbatim, in live preview there is some code mirror shenanigans. See below:Image of bug
Conclusion
I'm unsure how to fix this, live preview has broken this plugin in a couple of different ways. I'm going to let the dust settle on live preview and see what solutions the community comes up with.
The text was updated successfully, but these errors were encountered: