Horizontal Lines Surrounding Transcludes - Make It Stop

Things I have tried

Searched help. Searched the forum forum. Searched Google.

What I’m trying to do

I’m transcluding some files. When in render mode, Obsidian surrounds them with horizontal lines. My main file looks like:


It renders as horizontal line, followed by the the content of deleteme2, followed by TWO horizontal lines, followed by the content of deleteme3.

I didn’t ask for those horizontal lines. How do I make them go away?

It happens even when I transclude with:


If I had to guess, I’d guess that Obsidian is rendering the underscore for a level-1 header, even though there is no level-1 header and I’m transcluding a level-4 header.
My guess is that a transclude is rendered like a stand-alone document, including the assumed level-1 header.

I don’t think it’s anything to do with the header. I get it with header or not, and in default theme. It’s the top and bottom boundaries of the embed box; a side only appears when one (R) is needed to scroll.
I’m on 0.13.7, what Obsidian version are you on?

I think you’re referring to the decorations around the embed. You can remove them with custom CSS – see the linked post for instructions:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.