Hacker News new | ask | show | jobs
by seansh 732 days ago
Thanks a lot for the suggestions. Regular expression search would be cool. I was thinking to add a few color themes. But custom CSS to be honest I don't think would work well. In my experience CSS is a little fiddly especially given that the css includes some hacks to get safari on ios working properly which was a big pain.

Auto save is already done, nothing you type is every lost. It's saved immediately (and synced every few seconds).

There is a collapse/expand feature but not for subheadings. If you put --- at the beginning of a line followed by a blank line it'll collapse everything after that, as shown in the demo note.

1 comments

Fair enough on the CSS, and I didn't realize autosave is already done, thanks!

I did see the '---' collapsible and that helps but only if you have one section you want to collapse. I'm perhaps more visually-oriented than most, and being able to hide extraneous material helps me focus.

Makes sense. Perhaps there could be an option in the menu to set the default expansion level:

- level 1: collapse all H1 sections

- level 2: collapse all H2 sections

- ...

Basically like org-mode's cycle feature with the tab key. And then clicking on a headline will expand it.