Colored marking in PDF Export with embedded files

Hi there,

I’m writing a book and I’m using Obisidian with the possibility to write different files and put them together as chapters. This also works well.

However, when exporting to PDF, markers are always placed in front of my embedded files. Before the entire embedding. Of course, this extends over the entire document.

How can I prevent this?
I am currently using the standard export. With Better Export PDF, however, these markings do not disappear either.

Best Regards
DreiBaer

By colored markings, do you mean the left vertical border on embeds?

Screenshot 2024-09-03 141417

If so, you could use this CSS snippet to remove them. Only one line is needed depending on your Obsidian version.

body {
    --embed-border-left: unset; /* Obsidian 1.5 and earlier */
    --embed-border-start: unset; /* Obsidian v1.6+ */
}

This covers Live Preview, Reading view, and PDF exports.

Screenshot 2024-09-03 141512