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

Support transclusion #11

Open
extracts opened this issue Apr 28, 2021 · 0 comments
Open

Support transclusion #11

extracts opened this issue Apr 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@extracts
Copy link
Owner

This feature would allow to specify notes for inclusion by wrapping their note ID or query with {{...}}. This would be somewhat similar to the MultiMarkdown transclusion syntax. Transclusion of other notes would be esp. useful in an overview note (aka structure/hub/MOC note) where you'd assemble individual atomic notes into a hierarchical structure / outline.

If a note then gets rendered in a note preview or gets exported, the contents of notes specified via transclusion links (i.e. {{...}}) would get included with the output. And similar to regular note links, selecting a note in the Notes filter column would display all of its "transcluded" notes in the main notes list.

Example links for notes to be included via transclusion:
include a note by its ID: {{1B09-FQDQ-TBPE}}
include all notes matched by a query (aka "search link"): {{temperature "[@ice physics]" !Arctic}}

@extracts extracts added the enhancement New feature or request label Apr 28, 2021
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

1 participant