Pine icon indicating copy to clipboard operation
Pine copied to clipboard

Add a live preview mode in a single pane

Open user858753257 opened this issue 6 years ago • 2 comments

I have seen this feature at the typora MD client. Would be nice when you can add the same functionality as an option for the user.

Preview you can find here: https://typora.io

bildschirmfoto 2019-03-01 um 22 30 35

user858753257 avatar Mar 01 '19 21:03 user858753257

Let me agree that Pine could be hugely better if it eliminated the dual-pane editor-preview mode. Let the user edit directly in the preview pane - in single-pane WYSIWYG mode. Hide the Markdown formatting and show rendered text except directly where the user is typing.

F3000 is right. Dual-pane Markdown editing wastes a lot of screen space. And toggling between editing and previewing is what's weak this week.

And provide a keystroke for those times when you just have to edit the raw Markdown to fix some nagging formatting issue.

A useful open source reference for single-pane editing is Mark Text.

johnblommers avatar May 13 '19 19:05 johnblommers

Both apps linked are written in JavaScript. Typora uses a WebView for the entire app, and Mark Text uses Electron. I don't like Electron and Pine is written in Swift. What you are asking is a very complex feature to implement in Swift without using a WebView.

Besides, I prefer writing with a split pane layout. Pine is open source, so feel free to open a pull request if you really want this feature. In the meantime, this feature request will be put in the very, very low priority column so to speak.

lukakerr avatar May 14 '19 11:05 lukakerr