Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(toc): clear title after assigning prefix #1199

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

champignoom
Copy link
Contributor

Title should be cleared when encountering new prefix, otherwise for docs like:

^ footnote-title
text

* heading-text

the toc would be * footnote-title.

@vhyrro vhyrro merged commit f446645 into nvim-neorg:main Nov 28, 2023
2 checks passed
@champignoom champignoom deleted the patch-toc-prefix-title-sync branch November 28, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants