What's a good open source Markdown editor that can switch between WYSIWYG and source code?

I often need to convert rich text copied from websites or Word/odt documents to Markdown, and sometimes vice versa. Is there an open source Markdown editor that lets me simultaneously paste in and edit a document both as WYSIWYG and Markdown source code? Preferably side by side.

I've actually been using the Reddit redesign's Markdown editor for this, since it lets me switch between a WYSIWYG text box and a Markdown source code editor, but that's obviously not at all a good option.

29 points · 8 comments · view on lemmy.world

8 Comments

SloppilyFloss@lemmy.ml · 4 pts · 5y

How about Apostrophe?

m3adow@feddit.de · 4 pts · 3y

Huh? Nearly every editor can do this. For work, I use Visual Studio Code for that, maybe you additionally need a Markdown Extension, but I'm pretty sure it works out of the box.

docktordreh@discuss.tchncs.de · 3 pts · 3y (1 reply)

Hedgedoc if hosting is an option.

Also, you might be interested in pandoc for converting docx/odt (...) directly to md.

3v1n0@feddit.it · 1 pts · 3y

I agree: it's great.

Also can use the freely the instance at hackmd.io

BaconSoftware@lemmy.world · 3 pts · 3y (1 reply)

Obsidian let’s you edit with a preview version next to the source version, or even edit the source inline whilst the rest of the document remains as WYSIWYG.

DmMacniel@feddit.de · 7 pts · 3y

Obsidian is cool yeah. But it ain't open source.

Xylight@lemmy.xylight.dev · 2 pts · 3y

Oh boy a 3 year old post is being put in people's feeds. There needs to be a warning for old posts

lehenry@lemmy.world · 1 pts · 3y

I use Joplin which is rather complete, by default it shows wysiwyg, but you can display both.

There are many plug-ins as well, for example to paste Excel/CSV as markdown tables.