mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 13:25:49 +03:00
[GH-ISSUE #284] Support table of contents #105
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @themattgabriel on GitHub (Jan 11, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/284
Current behavior
Adding the lines below in the editor does nothing.
The option to add TOC is not available in the menu bar.
Expected behavior
Ctrl + Shift + Tchanges the view. It no longer generates table of content like it did with old boostnote.Environment
@Rokt33r commented on GitHub (Jan 11, 2020):
Implementing TOC generation sounds good to me. But I don't think using
<!-- toc -->comment is a good idea. To update TOC, the app will modify content of a note again right after editing any headers in the notes. And I don't think the storage need to store the side effect changes. It would make Editor UX and Edit history of the note messier. So I think we need something different. Please let me explain what I'm thinking now.ToC UI
Provide ToC UI so you can navigate a note without generating TOC.
ToC Shortcode
Using https://github.com/djm/remark-shortcodes, we could introduce new syntax like
[[TOC]].Original content
Processed content(This will be rendered on preview and exported)
@themattgabriel commented on GitHub (Jan 11, 2020):
I was just referring to how it looked like in the old boostnote. I love the idea of having a TOC shortcode to keep it simple.
@Rokt33r commented on GitHub (Jan 11, 2020):
@themattgabriel
Awesome! Then, I'll try to implement this soon! Thanks for sharing your idea.
@Airsaid commented on GitHub (Oct 10, 2020):
What is the progress of TOC feature now?
@Rokt33r commented on GitHub (Feb 22, 2021):
@Airsaid Still pending. I'll discuss this issue with my team and reveal our new roadmap soon.
@linuxandroid commented on GitHub (Jun 29, 2021):
What is the progress of TOC feature now?
@Komediruzecki commented on GitHub (Jun 29, 2021):
Hi, all,
Implemented TOC generation via shortcode toc, the jumping to document line where heading is as well. It needs to be styled a bit, and it should ship in next release.
Thank you for your patience!
@Komediruzecki commented on GitHub (Aug 9, 2021):
Closing issue as this was released.
@maksokami commented on GitHub (Dec 16, 2021):
Hi,
Does it also work in Boostnote-local (using Boost Note 0.22.3)? Any instructions on how to make it work?