the wrapping syntax can contain an identifier 123456 that is referenced by a downstream line of syntax (a placeholder), and this should get replaced with the ‘source’ block when rendered in read mode.
Downstream raw file:
# This is a markdown file title
<useSnippet id="123456" />
result:
# This is a markdown file title
## H2 Heading
_italics subtitle_
Some content
For those interested: I’ve created a proof of concept plugin that mirrors blocks; not complete editable transclusion but can e.g. work great for synced tasks: Obsidian plugin to mirror blocks (e.g. synced tasks)
A quick tip for anybody with a use-case like mine:
My interest is in carrying over a running to-do list within my daily note. After a few different iterations I’ve landed on putting the embed inside a callout box which lets me style the list different and can start automatically closed/collapsed.
This is pretty much a game changer for me and so cool that Obsidian now has this functionality. It’s working exactly how I wanted.
I love that plugins can solve problems like this. Though I’m still curious how this is being implemented and why so many others failed where this plugin succeeds… I’m super impressed!
You can now click inside a page preview to edit in-place.
This is more similar to Hover Editor, but it means the devs are actively thinking about code/ideas that may be very related to this FR of editable embeds. Perhaps now is a good time to voice your interest in getting editable embedded transclusions too so they consider extending the current work.
I would also very much love to see some version of this feature implemented. The page preview editor is helpful, but it doesn’t quite check all the boxes. Logseq’s comparable feature is mentioned above, but my personal point of reference is Scrivener’s scrivenings view, which lets you flexibly aggregate multiple files into a kind of virtual document that can then be edited, with the edits also being reflected in the individual files.
This goes way beyond simple editable transclusions, but… it could be interesting to implement this sort of feature on the canvas, where you could order cards, merge and separate them as your writing progresses – kind of a mix of Scrivener’s scrivenings and pinboard views – and then compile everything into a single document when you’re happy with the overall structure.
The outliner plugin is promising but suffers from multiple issues.
Sometimes when typing ![[ and mousing over the list, it disappears and prevents you from selecting a note.
There is no way to visually identify the difference between an embed and the present note other than the tiny link icon at the top right which is easily missed.
It suggests you can use style settings but there’s no style settings section.
And more…
I will post what I find on the github. Hopefully they continue to develop it because I currently don’t trust it’s not going to mess something up unintentionally.