Hi, this is my first post and first of all I'd like to thank the developers for this amazing app
Coming from ~10y of using Evernote, the feature I miss the most is the ability to have multiple empty lines in the WYSIWYG editor. I don't know if my workflow is considered "wrong" or "messy" for Markdown, but I've tried to adapt for a few days (mainly adding .
at the beginning of lines) and I'm not very satisfied with the result. The forum is full of posts asking for this feature, so it looks like a lot of people used to WYSIWYG editors expect this behavior.
I understand that this is just how Markdown works and the developers do not intend to change it, but I was wondering if there might be an "easy" workaround to this, perhaps using plugins. I see two potential solutions:
(non-)Solution 1
Tweak userstyle.css
to make sure that multiple empty lines are converted to <br>
tags when rendered. The good thing about this solution is that it would keep the Markdown code clear. I'm not even sure userstyle.css
would allow this, but in any case I think this solution is not viable as the WYSIWYG doesn't support custom userstyle.css
(yet, at least).
Solution 2
Add an optional setting to automatically convert multiple new lines in the WYSIWYG editor to an equal number of <br>
tags in the underlying Markdown code. The downside here is that it would make the Markdown code a bit dirty, but I don't think that's a big issue as most WYSIWYG users won't deal much with the raw code anyway.
Solution 3
Add an optional setting to parse <br>
tags in the WYSIWYG editor. Currently, if I type <br>
tags in the WYSIWYG editor, this is automatically converted into <br>
in the Markdown code, and hence doesn't render into an empty line. If <br>
tags were left intact, they would be hidden as soon as the user exits and re-enters the note. This would also allow the user to configure OS-level shortcuts to quickly type <br>
. This solution is a bit dirty but seems quite easy to me.
Question: Do you know if any of these solutions would be possible to implement using a plugin? I'm not really a developer but I might try and look into this if it was possible.
PS: more generally, I think it would actually be nice to be able to personalize the behavior of the Enter
key. For example, I'd personally prefer the Enter
key in the WYSIWYG editor to behave much like in the code editor, i.e.
- producing a new line instead of a new paragraph (which now requires
Shift + Enter
). - producing a new paragraph with double
Enter
(which now requires a singleEnter
) - producing
<br>
tags with each subsequentEnter
(which now is not supported)
This would reproduce more faithfully the workflow on plaintext note taking.