What I’m trying to do
I’m trying to use the frontmatter cssclass to format certain files. I’ve removed the extra blank line at the end of each paragraph and I need to create space between the paragraphs with css code. I’ve achieved this in the edit view, but I can’t figure out how to do in the reading view. The edit view is the important one, but it would be nice if it worked in reading view too. I have tried many things to achieve this in reading view, but my understanding of css is limited so I was mostly trying things at random.
Here’s my front matter:
cssclass: linespacing
My snippet is titled ‘linespacing.css’ and here is the code I have in that file that works for the edit view:
.markdown-source-view.linespacing .cm-line {
padding-bottom: 1.25em;
}
This code does works for the edit view. The problem is I need a similar code for the reading view.
And just to be clear, I’m trying to create space between the paragraphs. And the paragraphs do not have the extra blank line between them.
thanks