White space when rendering katex environment commands

Operating system


Joplin version


Desktop version info

Joplin 2.13.12 (prod, win32)

Client ID: 4e5c773b8daa4b88ad334e2c36192d61
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: e027cdc


Rich Text Editor

What issue do you have?

When writing mathematical functions it is common (to me at least) to create a block of $\gdef...$ katex functions in order to setup the environment and have useful commands in markdown. When I do so, in the rich text editor and in pdf renders I see white lines where those commands are. Of course this bothers me and I would like to know if I am missing something or doing something wrong. Thanks in advance.


Try putting them in a block math region:


This still produces blank space, but not as much.

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