Hacker News new | ask | show | jobs
by eslaught 2704 days ago
Frankly, I have yet to find a good Markdown editor period, regardless of whether it's open/closed source or whatever. As far as I know all the Markdown editors I'm aware of only support subsets of the syntax in e.g. Pandoc, so I keep hitting edge cases where my document won't render properly. In the better editors, they at least don't mess with the parts of the document they don't understand, so you can edit with (relative) safety as long as you don't need to touch the unsupported sections. But some editors, the process of loading/saving isn't lossless, so you can't even edit such documents. The editor from texts.io is a big offender here.

I just took Typora out for a spin, and it looks pretty good except it doesn't understand soft line wrapping. So if you have a document with something like:

    Some paragraph text
    6. that happens to be broken with a number in front.
Then it interrupts the paragraph and makes a list. But at least in my initial tests it seems to be lossless, so it at least won't mess with existing formatting too badly.
1 comments

Yeah, Typora is still in beta last time I checked so minor issues like that are expected. Just open up an issue on their Github issue page.

Hm, for me Pandoc has worked pretty well for converting .md to .html. Is it the specific flavor of Markdown that you are using (I use Github flavored Markdown)?

I use Pandoc with Pandoc's dialect of Markdown. My issue isn't in the final conversion step, it's that if I use an editor that isn't careful to preserve syntax it doesn't understand then the Markdown syntax itself may get messed up when loading/saving the file. Historically I haven't been able to trust any native Markdown editors so I just use Emacs and edit in the raw format. But Typora looks promising and I may try to see how far I can get with it.