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

Extend nested summary behavior to the by_path strategy #1545

Open
1 task done
opposable-crumbs opened this issue Jul 30, 2024 · 0 comments
Open
1 task done

Extend nested summary behavior to the by_path strategy #1545

opposable-crumbs opened this issue Jul 30, 2024 · 0 comments
Labels
feature Issues related to feature proposals. Please attach a module.

Comments

@opposable-crumbs
Copy link

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

In #1144 Neorg added the ability to generate dotted categories which show up as nested headings in generated summaries. This is super useful, but it would be great if the by_path strategy behaved the same way. For example, given a workspace root of ~/notes, ~/notes/foo/bar/note.norg would generate the summary

* Summary
** Foo
*** Bar
   - {:$/foo/bar/note:}[Note]

In the current implementation it seems the category is just chosen as the immediate parent of the file.

Help

Yes

Implementation help

I'd be happy to take a crack at this, but if this would be classified as a breaking change I'd need some direction as to how those are usually handed in Neorg.

@opposable-crumbs opposable-crumbs added the feature Issues related to feature proposals. Please attach a module. label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues related to feature proposals. Please attach a module.
Projects
None yet
Development

No branches or pull requests

1 participant