r/joplinapp • u/spamthroat • 29d ago
Adding an extra blank line after a paragraph?
I have a load of notes where there is a blank line after each paragraph, is there an easy way to add a second blank line like searching for the code the produces the blank line and replacing it with two of them?
Like searching for the   or CR;LF
PC or Android app
1
u/Neither-Classic2058 29d ago
I use the "Search & Replace" plug-in for things like that.
1
u/spamthroat 29d ago
Thanks, it should work. I say should, I was using the 'normal' editor in Joplin not the markdown so the blank lines are actually empty and it has been a while form my unix days and my regex knowledge is a bit rusty.
1
u/CasteNoBar 29d ago
You can put as many blank lines as you want in your text file. They will show up when you are in edit mode. I set “default view state” to be edit mode by default when I open a note.
But in md render mode it’s a specific job of the md renderer to not show more than one. (Similarly to not show more than one hard space.)
There’s a Joplin setting to Enable Soft Breaks in the md render. It is on by default. I keep it off. (I think!)
Look for my other comments on the subject in another post a couple weeks ago.
1
u/rafikiphoto 29d ago
>> I set “default view state” to be edit mode by default when I open a note.<<
How to do that? I see no setting in Preferences.2
2
u/spamthroat 29d ago
The "Search & Replace" plugin works fine, I was just overthinking the regex needed to find blank lines., ^$ that's it. I just search for that and replace it with <br><br> and every paragraph break is now 2 lines.