The current block references stand out as big alien chunks in any document. It’d be better if they felt as if they were part of the document, or at least to have the option to achieve that. If I have inline embeds, then a synthesis of different ideas can be put together without forcing a shape like current embeds do.
This request can be better placed in context by looking at this comment in a different thread.
Was going to suggest exactly this. Yes, this would be great. I currently use the notes refactor plugin a lot, and the result tends to be quite ugly when I chop a larger note into smaller ones. That is especially the case when an embedded note renders at its maximum size, with the text within becoming scrollable.
To avoid this problem, I create copies of the sub-headings as separate notes instead of embedding them. I would have preferred to be able to embed them in-line as OP suggested.
Maybe things have changed in last years…
New to Obsidian I searched for a solution to this within a week.
So I tried the Murf’ code in this thread, but when toggling from edit to view mode,
the little backlink icon jumps to the previous paragraph with a tiny colored seam at the end of its text. Same thing with default theme and other themes.
After experimenting, made another solution using two files;
File: embed-link-inline-clean.css : always ON
/*
Admonition Container [ Inline Content Container ]
Arranges the admonition type of indent with vert bar in front; turn it off.
*/
.internal-embed {
padding-left: 0px; /* Same as all other content */
border-left: unset; /* Remove the left vert admon bar */
background-color: unset;
}
/*
Inline Content Container [ Inline Content + Link Symbol ]
Not necessary actually, but used a bg color to figure out what is what
*/
.markdown-embed-content {
background-color: unset;
}
/*
Link Icon; at far right.
Keep 'visible' in composing mode.
Use embed-link-inline-clean_no-icon.css to hide it.
*/
.markdown-embed-link {
visibility: visible;
}
File: embed-link-inline-clean_no-icon.css: ON to hide the link icon
/*
Hides the...
Link Icon; at far right.
That is visible inside...
embed-link-inline-clean.css
*/
.markdown-embed-link {
visibility: hidden;
}