Line spacing, especially in rich text mode

Operating system

Windows

Joplin version

3.5.12

Desktop version info

Joplin 3.5.12 (prod, win32)

Device: win32, AMD Ryzen 7 9800X3D 8-Core Processor
Client ID: bc5a942849bb4fcaa677f820a6266738
Sync Version: 3
Profile Version: 49
Keychain Supported: Yes
Alternative instance ID: -

Revision: 449555c

Backup: 1.5.1
Favorites: 1.3.2
Freehand Drawing: 4.2.0
Note Statistics: 1.0.4

Sync target

Joplin Cloud

Editor

Rich Text Editor

What issue do you have?

I migrated from Evernote, transferring almost a thousand notes. I use bullet point lists a lot for notes, and the spacing is killing me.

I tried the options mentioned here: Typographical Line Spacing - #6 by muzak

... but it doesn't seem to have an effect in the rich text mode (see screenshots; the first is what I want & what imported notes show; the second is what I get). Is there a way to change the rich text mode? Did I fumble the export & import of my notes?

It's not a big thing, but it is annoying all out of proportion.

Thanks

Screenshots


Updated my CSS workaround found in the link above. In short, I showed that targeting #tinymce (the Rich Text editor) alongside #rendered-md (the Markdown viewer) applies desired spacing to both panels (not just the Markdown viewer).

1 Like

Hi,

If you're interested I can find the link and share it with you here.
I have talked about in other threads about a keyboard macro utility called autohotkey.

You can have one of the AI chat engines write a keyboard macro that while in the program Joplin every time you press the enter key it actually does a shift enter instead.

This fixes the line spacing issue.

It won't impact anything that you imported from Evernote however.

That macro would at least need to handle how Shift+Enter (which inserts a line break instead of a paragraph) intentionally doesn’t create a new bullet for lists. I’ll leave finding other complications to Rich Text users.

Speaking of AI, how difficult would it be to develop a plugin toggling between inserting a line break or paragraph for Enter?

Even before that, what benefits does inserting line breaks with Shift+Enter in place of paragraphs with Enter have besides tighter spacing, if any?

Yes. One option is to reassign the shift enter function into a completely different keystroke of your choice.

You could reverse shift enter and enter if you wanted to.

You can do pretty much anything you want with autohotkey macros.

As muzak mentioned, the problem would be that Shift+Enter doesn’t create a new bullet (which is a feature when you want something under a particular bullet, but on a separate line), and I do use lots of lists for my notes.

Thanks for the idea, though!