NotePlan
NotePlan
Mar 28

Preview Note with Marked

Integrate with Marked to have the ability to preview a note in markdown in real time.
PendingPending

Jan 2, 2023

You can already have Marked 2 preview your NP files. Open the NP documents directory and then drag each the Notes folder and the Calendar folder onto the Marked 2 icon in the Dock. You'll get two windows which will show the last edited document in each section. It will also show any files edited in a subdirectory Eduard Metzger - Marked 2 also offers a streaming API. You need to put the text you want previewed into a named clipboard and Marked will render it in real time. Drafts and Bear support this is you want to see it in action https://marked2app.com/help/Streaming_Preview.html

Apr 1, 2021

I think this would be a good candidate for a NotePlan plugin, could be triggered via Command Palette and document button (upper right corner) as well as View menu and contextual menu. I think once the plugin interface moves up on the feature list, defining the various plugin entrypoints one could then creating plugins in other languages such as JavaScript. I have ideas for many plugins once we get there :-)

Apr 2, 2021

Mike Erickson: True, an easy first version could be triggered as a JS plugin.

Apr 2, 2021

Eduard Metzger: well, as a JS junkie, I am ready at the keyboard. Until then, you know what I will be doing