When I press enter it generates a line that I cannot edit and after it the cursor is placed. In the markdown it is seen that there is an empty line, which I can eliminate and the text looks normal, but with it it looks very separated taking away important space.
Try using shift + enter instead. If you are using the the Rich text editor and then switching to the markdown editor, that is a current limitation that you have to use shift + enter to do a line break instead of a new paragraph
No method to reverse the functionality of the two Enter commands currently exists. It’s been asked about many times, but has never been implemented, neither officially nor in a plugin.
It’s worth noting that the new Rich text editor for mobile has resolved the issue of needing to use shift + enter to do a single new line. The eventual plan is this editor would replace the Rich text editor on desktop so that the code is common between desktop and mobile, but there would need to be feature parity between both editors before doing so, and there is no estimate how long this would take to be implemented.
Sometimes what I do when I want to do some writing in markdown and get frustrated with the extra large spacing in Joplin is to do the writing in a different editor and then put the text in the Joplin afterwards.
I also keep the application called Markor installed on Android for extensive writing. It creates simple markdown files you can put into Joplin or any other markdown program.
Also there is a program for Android that is not in Google Play but it is at f-droid called “markdownr".
It's a very handy app I think everybody should have installed. It takes any HTML URL as input and converts it to markdown so you can paste it into Joplin.
I often use it to save news articles that I read online into Joplin in markdown format.
Edit: But now that I think about it, while I have been able to add just one line when pressing enter on dumber text editors. Actually rendering it results in both lines being rendered on the same line since Markdown either needs two line breaks to render a single line break, or a line break element. So this might just be intended for a Markdown editor.
…
Just replying to mention that I also have this issue. Two lines per enter is very annoying. Love everything else about the Joplin project.
The problem is the particular underlying editor (which is a third party library) makes it difficult to remedy the issue. As mentioned in an earlier post, that editor is going to be replaced at some point with the same rich text editor used on the mobile app, which will resolve the issue