How to reduce line spacing on printout?

In Windows Desktop under Windows 10 Pro x64 21H2:
Joplin 2.7.15 (prod, win32)
Sync Version: 3
Profile Version: 41
Revision: 8352e23

  1. The MD and RT editors display text with different line spacing (see attached screenshot).

  2. I find the line spacing wastes a lot of space, particularly when printing. This post describes a way of changing the line spacing in the editor, but it isn't detailed enough for me to follow, and it doesn't sound as though it would apply to printouts.

How can I reduce the whitespace between lines in printouts?

That post is far too old to be helpful as it references the old ace editor which was replaced by codemirror.

For the rendered output side you can insert some custom CSS to change the appearance of the spacing.

This post teaches the basics of how this works

For example if I wanted to alter the rendered output with slightly smaller list bottom margins:

  • Help > Open Profile directory
  • Open userstyle.css
  • Add the following to the file
li {
  margin-bottom: .2em !important;

(default is .4em)

Restart Joplin (as in fully, by default it probably just goes to the system tray so you need to kill it there too).

If that doesn't do what you want then lower it further or look into changing the line-height property (you can make it global or just on the li style (list item).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.