Steps to reproduce
Create 2 files:
Foo.md:
> hello
Bar.md:
![[Foo]]
Expected result
The quoted “hello” should have the same top margin within the quote block when shown in Foo.md and when embedded in Bar.md
Actual result
In Foo.md, it has top margin 0px and in Bar.md it has top margin 6px
Environment
- Obsidian version: 0.9.6 MacOS
Additional information
I believe it is caused by the following default css:
.markdown-preview-view .markdown-embed-content
p:first-child {
margin-top: 6px;
}
When using custom css, this styling makes embed styling difficult to get right