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

Fully Integration with Breadcrumb #115

Open
LeonardoGentile opened this issue Mar 12, 2023 · 4 comments
Open

Fully Integration with Breadcrumb #115

LeonardoGentile opened this issue Mar 12, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@LeonardoGentile
Copy link

LeonardoGentile commented Mar 12, 2023

Breadcrumb introduced some nice featured to avoid writing metadata in every single files, see Alternative Hierarchies

Let's says I have a /MyFolder/Index.md one that I use very often is Folder Note:

---
BC-folder-note: children
BC-folder-note-up: parent
---

or

BC-folder-note:: children
BC-folder-note-up:: parent

When I place this in the front-matter or as a DV field then all the notes within /MyFolder/ result as children of the Index note.

This avoids to write in every single note within that folder the metadata parent:: [[Index]]
Is there a way to achieve this in excalibrain or to fully integrate the BC Alternative Hierarchies?

Thanks

@LeonardoGentile LeonardoGentile changed the title Gully Integration wth Breadcrumb Fully Integration with Breadcrumb Mar 12, 2023
@zsviczian
Copy link
Owner

Originally ExcaliBrain was built on top of BC. Unfortunately, Breadcrumbs (at the time, maybe still) did not differentiate between the same filename but in different folders. As a result, I moved ExcaliBrain to be based on DataView. Whatever format Dataview supports, ExcaliBrain should also support it.

I don't use frontmatter for defining the hierarchy because those fields don't get updated when I rename or move files. Instead of the frontmatter, I recommend adding dataview fields in the body of the document. You can always hide them by placing the section in markdown comments:

%%
parents:: [[parent doc]]
%%

@LeonardoGentile
Copy link
Author

LeonardoGentile commented Apr 2, 2023

Thanks for your answer.
It's clear, but the big missing part is still the flexibility that breadcrumbs gives you with BC-folder-note.

By using this field you mark all files contained in the folder to have some bc attributes

Would this be possible somehow in excalibrain?

@LeonardoGentile
Copy link
Author

LeonardoGentile commented Nov 8, 2023

I don't use frontmatter for defining the hierarchy because those fields don't get updated when I rename or move files.

This shouldn't be a problem anymore thanks to the introduction of properties, see my comment here.

Now that this is not a problem anymore would still consider the integration of the two plugins?

@d1n6
Copy link

d1n6 commented Jan 10, 2024

would like this feature for BC-regex-note as well, or is there another way to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants