notes icon indicating copy to clipboard operation
notes copied to clipboard

Show table of contents for notes

Open bertptrs opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. As notes get longer and longer, it gets harder to navigate around the entire document. It would be nice to be able to quickly jump around a note.

Describe the solution you'd like The plugin could render a table of contents on the side of the document, based on the headings present in the note. Clicking on these headings would send you to the appropriate place in the note.

Describe alternatives you've considered You could add internal links in the note and manually write a ToC, but that doesn't work as of now since the headings don't have IDs.

Additional context Google Docs' implementation as shown below is a nice example of how this could work image

bertptrs avatar Aug 01 '20 09:08 bertptrs

References https://github.com/stefan-niedermann/nextcloud-notes/issues/401

stefan-niedermann avatar Aug 01 '20 10:08 stefan-niedermann

I like this. In the context of #331, also referring to https://github.com/nextcloud/text/issues/825

korelstar avatar Aug 02 '20 09:08 korelstar