Use case or problem
-
Given I have a list like this:
-
Parent ^parentid
- Child
- Child
-
When I transclude the parent, I want to be able to transclude its children as well
-
Currently, if I transclude the block, I can only see the content of the block itself (‘Parent’)
Proposed solution
- There are already block references, so why not just add some syntax to transclude child list items as well, like !![[^parentid]]
Current workaround (optional)
- I can achieve similar behavior with heading embeds, but it seems too rigid, since I need to restructure my notes just to be able to embed a block. Unordered lists are much cleaner and easier to edit than headings
- Also, ^id links are much more robust that heading links, since they don’t require refactoring when the contents of the block change