Okay, the snippet below creates space between paragraphs and works in editing and reading views.
It also creates the appearance of a tab at the start of each paragraph in editing views. But for the indentation to work in the reading view, your paragraphs need to have a blank line between them. That is, two line breaks.
Here’s what to do:
- Add this snippet: (how to add snippets)
/* paragraph-writing class
indents first lines of paragraphs, and adds space after paragraphs
*/
/* editing views */
.markdown-source-view.paragraph-writing .cm-line {
padding-bottom: 1.5em;
text-indent: 2em;
}
/* reading view */
.paragraph-writing p {
text-indent: 2em;
white-space: pre-line;
}
- In your note, add the
cssclasses
property and enterparagraph-writing
as a value:
The result looks like this:
From now on, you could have Templater add the class to all new notes you create in the folder.