.markdown-source-view.mod-cm6.is-readable-line-width .cm-line::after {
content: "↵"; /* Paragraph mark */
font-size: 1em; /* Adjust as needed */
color: white; /* Adjust color */
margin-left: 0.2em; /* Space between text and mark */
display: inline; /* Ensures it appears directly after text */
}
I get this … copy/paste your sample and at the end you see symbols added with above snippet.
You can play with colors, size, … And just in case, if you’re new to Obsidian - CSS snippets - Obsidian Help … this is how you use/install snippets.
OK, the solution is “bad” … “bad” because I’m not sure why the snippet is adding an <br> tag after an empty line.
But as I haven’t noticed it in any other (my) notes, let’s try to hide <br>, which will be ignored by the CSS snippet.
.markdown-source-view.mod-cm6.is-readable-line-width .cm-line::after {
content: "↵"; /* Paragraph mark */
font-size: 1em; /* Adjust as needed */
color: white; /* Adjust color */
margin-left: 0.2em; /* Space between text and mark */
display: inline; /* Ensures it appears directly after text */
}
br {
display: none;
}
As you can see, I’ve just added “do not display br” (<br> is a line break element). Plea… PLEASE! test it on different notes!! It can’t break/delete anything. It just (I imagine) can play with some styling/alignment of text. If it causes a problem, just turn it off, and everything will be normal again. As it is hiding and not deleting those <br>.