Hacker News new | ask | show | jobs
by mdeeks 373 days ago
I really hope Apple Notes makes this something that's opt-in and I don't have to see. Thankfully it sounds like it is an export only feature.

I think there is a bifurcation of people who like markdown and people who like rich text. And both groups have strong opinions. Apple Notes was my goto rich text editor. Fingers crossed that they aren't making this worse for us.

Related: I switched away from Bear notes because personally I find markdown hideous to look at. This post made me go back and check on it today and it looks like Bear notes now supports hiding markdown right after you type it. This seems like a really good compromise, though I still don't like that I see it when I place my cursor on it. Worth a shot if you're a "never markdown" person like me.

2 comments

You hate reading unrendered markdown? I've looked at markdown so much that my brain renders it in my head.
URL are particularly egregious. In rich text it is just a word with a blue highlight or underline. In markdown my sentence with a [link](https://myfavorite.site.com/article/blah/whatever/something....) looks like this.
Or, preferably, a [link][1].

[1]: https://whatever.com

Bear’s implementation is great. One thing I hate about rich text is that it's basically impossible to not inherit the formatting of adjacent text if you move your cursor around, nor is it possible to see the current formatting state. If your cursor is between whitespace and an italic word, will inserted text be normal or italic? Markdown’s formatting characters solve this by creating a boundary that the cursor can be on either side of.
This is a solved problem, but not implemented almost nowhere. Your text cursor can simply show whether text is going to be italic with an indicator. And moving cursor an extra step away from the italicized word will reset the formatting to that of the space char. But also panels in many apps show current formatting in their formatting button state
Interesting, because I find that very intuitive. If my cursor is on or next to formatting, it'll inherit it.

I find formatting after the fact a lot easier too. Bold a line? cmd+shift-right and then cmd+b. Trying to add formatting after the fact with markdown isn't fun. Though many editors try to helpfully insert markdown for you with hotkeys, it often fails on multi-line things.

What does “next to formatting” mean? There's always some formatting on both sides of the cursor.