Feature request: Add option for automatic heading numbering
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by tracing the editor's heading handling and table-of-contents generation; the issue provides no file or test entry point. Done means an option produces hierarchical numbering such as 1., 1.1, and 1.1.1 consistently in both the editor and table of contents.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
When writing longer documentation, meeting minutes, or structured notes (especially when using Collectives), numbering sections is common practice to easily reference sections across the team. Currently, you have to number headings manually, which makes it quite tedious to keep everything consistent. Whenever an earlier chapter is inserted, deleted, or moved, all subsequent numbers (1.1, 1.2, etc.) have to be adjusted by hand.
Describe the solution you'd like
It would be awesome to have an option for automatic, hierarchical heading numbering (e.g. 1., 1.1, 1.1.1) in the editor and table of contents.
Describe alternatives you've considered
Currently, the only option is updating the numbers manually every time something changes, or skipping numbering altogether (which makes referencing specific sections in team discussions harder).
Additional context
Nextcloud Text is awesome. :)
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nextcloud/text
-
bug feature: folder description
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug feature: attachments
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug feature: images
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·