Posted May 14, 2022 by billiam
This version adds improvements to a couple of existing features: HTML-to-markdown and synchronized scrolling!
Significant changes have been made to the convert-pasted-HTML-to-markdown feature to support additional elements, and reduce unnecessary escaping.
<var>
elements, imported as italic<pre>
tags<code>
tagsFurther changes to this feature are planned, especially to escape markdown in pasted content, but other work will be needed first to make this possible.
First, an annoying bug that caused the preview window to rapidly jiggle while typing has been fixed, as have some related issues around repeated scroll events.
Secondly, synchronized scrolling will now try to be a bit smarter about where to scroll while you’re actually editing.
Without going into too much detail, the preview window used to try to keep the top of the preview window and the top of the editor in sync. This worked well when scrolling, but could cause the line you’re actually editing to appear offscreen in the preview, depending on a number of factors.
Now, scrolling in the editor will try to keep the active line synchronized in the preview if it’s visible, whether it’s at the top of the visible page or the bottom.
The effect of this is pretty subtle, but I think it’s a good change. That said, I’m considering it experimental, so please provide feedback in the support forum.