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

[IDEA] Generalize the tree macro to support any field #8129

Open
andjar opened this issue Apr 3, 2024 · 0 comments
Open

[IDEA] Generalize the tree macro to support any field #8129

andjar opened this issue Apr 3, 2024 · 0 comments

Comments

@andjar
Copy link
Contributor

andjar commented Apr 3, 2024

Hi! Currently, the tree macro is only looking at the title field. It may be useful to generalize it to support an additional field parameter that defines the path. A tiddler with fields

title: /A/B/C
path1: /B/A/C
path2: /C/B/A

will then be placed at different location using the calls

<<tree prefix:"/">> // Defaults to title
<<tree prefix:"/" field:"path1">>
<<tree prefix:"/" field:"path2">>
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

No branches or pull requests

1 participant