A proposal for rendering block embeds inline

I would also love this feature!

3 Likes

ā€¦ a big +1 for this feature!

2 Likes

It seems that Obsidian first has to solve the ā€œlinking to line/section/blockā€ problem in a better way before the issue here can be addressed, as this issue (and others as well) will naturally make use of whatever mechanism Obisidian uses to solve the internal link problem. The current ā€œfootnote-exploitā€ ([^3bc4h]) approach is fragile and frankly a little ugly and cumbersome. More problematically, it is not a first-class citizen, which limits what we can do with it and also does not give us the magic refactoring.

For many reasons, if Obsidian offered a robust, reliable, ergonomic and minimal friction model for handling persistent links to constructs under the file-scope as first-class citizens (line, paragraphs, blocks, etc.) then it would truly elevate this app to a completely new scale of networked knowledge!

For now, though, it seems that the secret hack is to make any content that you wish to reference atomically a list item to define a subpage scope, and then use the current footnote-style internal link to reference it.

For example, given the following file:

%% source1.md
- This content will not show up if the  next is embedded
- so much depends upon  
  a red wheel barrow  
  
  glazed with rain  water  
  beside the white  
  chickens 
  
  ^slyk3i
- This content will not show up if the previous or next is embedded
- Three rings for the elven kings under the sky
    Three Rings for the Elven-kings under the sky,  
    Seven for the Dwarf-lords in their halls of stone,  
    Nine for Mortal Men doomed to die,  
    One for the Dark Lord on his dark throne  
    In the Land of Mordor where the Shadows lie.  
    
    One Ring to rule them all, One Ring to find them,  
    One Ring to bring them all and in the darkness bind them  
    In the Land of Mordor where the Shadows lie.
  ^qfvmeq

- This content will not show up if the previous is embedded

We have full control over what gets embedded ā€“ everything, arbitrarily complex, that is in the list item scope:

![[source1#^qfvmeq]]

![[source1#^slyk3i]]

Many drawbacks to this: ugly syntax, the friction/need for coming up with our unique idā€™s (plugins help with this), no magic refactoring as these subfile chunks get moved around, the need to forward-plan and put everything that we want to embed into lists etc.

8 Likes

+1 :sneezing_face::sneezing_face::sneezing_face:

3 Likes

Hoping for the feature request of inline embeds as suggested by the many voices here to be implemented.

4 Likes

+1 for this request!

4 Likes

+1 for this request

4 Likes

+1 for inline block references. Even a core appearance option toggle would be great.

Let the user decide how they would like their transclusions to render. The massive css hack isnā€™t sustainable longterm.

6 Likes

Huge +1 for this, would be great for personal wiki workflows!

3 Likes

Seems embeds still do not render inline with latest 1.3.5 and 1.4.1
Details Embed Adjustments: how to flush/strip padding Ā· SlRvb/Obsidian--ITS-Theme Ā· Discussion #240 Ā· GitHub

Am I wrong?

2 Likes

+1. This would also probably help with this other popular feature request (made by WhiteNoise, one of the moderators): Edit transcluded (embedded) notes (blocks) in place (likely requires WYSWYG first)

3 Likes

+1 i would love this feature

3 Likes

Iā€™m going to throw my vote in the ring for this feature as well. Itā€™d make a lot of workflows & usages far simpler & cleaner.

4 Likes

Fully support this idea/request. I would love to see this happen. I really think people could/would switch to Obsidian more easily.

3 Likes

Bumping this in case anyone has found a good solution?

My use case is in creating centralised ā€˜mental model / checklistā€™ style notes which compile ideas from a bunch of other notes. Iā€™d like to be able to block embed these ideas, so the link to the original source remains clear. Is there an alternative way of achieving this?

3 Likes

As a newbie I googled to see whether this was already a possibility and I came to this. I would find it extremely helpful to my workflow.

3 Likes

And another 1. +1

1 Like

Hope to have this function, my other notes have this basic function, except obsidian does not

1 Like

+1
why Obsidian team never prioritize this feature ?

1 Like