mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #3521] [FR] Table of contents for documents #1592
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1592
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 @tio-trom on GitHub (Sep 24, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3521
Description
Would be very useful to have a table of contents based on the Headings of a document. This way you can structure a document better. This can be added to a right pane.
Impact
For long documents it is essential to be able to jump to "chapters", that can be represented with "headings" in markdown.
Additional Context
No response
@LucasXu0 commented on GitHub (Sep 25, 2023):
@tio-trom Do you mean the outline block?
@tio-trom commented on GitHub (Sep 25, 2023):
I mean something like Zettlr has:

Where the Headings become "chapters" and when you click one it scrolls to it. If you know what I mean.
@LucasXu0 commented on GitHub (Sep 25, 2023):
I believe the outline block is precisely what you're looking for, but it's currently displayed on the page instead of in the sidebar.
https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/efc27b34-f542-466f-b7ef-673753997a47
@tio-trom commented on GitHub (Sep 25, 2023):
Ahhh ok...yes that's what I meant, but positioning it like that makes it less efficient if you want to have a quick access you have to always scroll up. Would make more sense in a separate tab or at least a scroll to top icon somewhere.
@emmggi commented on GitHub (Sep 25, 2023):
It makes a lot more sense to me, from a practical standpoint, to have it in a panel. A block would be useful when exporting to a PDF or similar.
@LucasXu0 commented on GitHub (Sep 26, 2023):
I see. @tio-trom @emmggi so do you prefer to display the characters on the panel or the sidebar rather than in the document?
@tio-trom commented on GitHub (Sep 26, 2023):
I think it makes a lot more sense. It is helpful to jump to sections in a document. If you put it at the top you always have to scroll up to then jump to certain sections.
@emmggi commented on GitHub (Sep 29, 2023):
@LucasXu0 I'm not sure about the design. I think having a separate panel for outline that can be toggled on/off makes most sense.
@YBYCS commented on GitHub (Dec 14, 2023):
I also really need this feature.
@annieappflowy commented on GitHub (Dec 16, 2023):
@YBYCS , did you mean having the outline floated on a separate panel?
@YBYCS commented on GitHub (Dec 16, 2023):
Yes, I believe this contributes to efficiency.
@dandv commented on GitHub (Dec 8, 2024):
Having the table of contents in a panel would make navigation easier than if it was only at the top of the document.
Consider how much easier it is to navigate among pages in Notion given they are displayed in a tree on the left side. If that tree were at the top and scrolled out, you'd have to scroll up to the top every time you wanted to navigate somewhere.
Notion also displays an automatic table of contents on the right.
In the same vein, editors have a "preview" of the file lines in the right pane.
@Yacine-Benali commented on GitHub (Dec 25, 2024):
Yeah this feature is a must for me especially when dealing with big documents. its the only thing preventing me from migrating form obsidian right now
@zhaob1n commented on GitHub (Feb 18, 2025):
I suggest a toggleable sidebar from the right, similar to the current left side bar.