Hacker News new | past | comments | ask | show | jobs | submit login

No?

If I'm imagining it correctly, it should work like this:

writing `help` will render it inline. A rendered `help`^H becomes an un-rendered `help

The rendering doesn't need to show the backticks, but it seems to me that it's perfectly reasonable to have it exist from the text-editing perspective.

The real problem might be that hitting <star><star>help<star><star><LEFT_KEY> can either move invisibly between one of the two stars (technically correct), or jump a star to place the cursor just after p (visually correct).

I would think the best solution is to have all editing keys (eg backspace, delete, insert-then-type) be technically correct, and all movement keys (eg arrow keys) be visually correct.

I think this is also how Typora does its markdown rendering, which was functionally intuitive in my experience (I stopped using it because it slowed down severely with any file larger than like 300 characters, so a worthless text editor, but UI-wise it worked well)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: