I tried building a markdown editor with live preview using an NSTextView, but the performance was absolutely horrible. The application kept freezing and unfreezing - this would just happen over and over again.
Now trying to use a WebView and I am getting much better results.
I do have some trouble getting the markdown syntax to show and hide depending on if the user has selected the text with styling.
The markdown syntax hides correctly, but does not show when selecting. I want it to be like Obsidian.
#dev #Swift #AppKit
Login to reply