Replies: 1 comment 7 replies
-
Hi Bert, The novelWriter GUI is not intended to be a source/preview style setup. The editor renders the text as close as it can to the final result so you don't really need a preview. The view panel is simply there so you can view your notes while you write. This is the intended usage, and is the primary principle that informs how the editor and the syntax is designed. Because of this, line breaks are just line breaks. They should look the same in the editor and viewer, which your examples do not. The blank line is converted to a paragraph break, but that looks visually similar, and mostly only matters for the export formats. Keep in mind that novelWriter it is not a markdown editor per say. It is a plain text editor with a limited markdown-like syntax for emphasis and headers, and a novelWriter-specific syntax for meta data and paragraph alignment. I have considered dropping the markdown-like syntax altogether and allow the editor to hold rich text with limited formatting. This would make it less confusing to people who are used to plain text markup languages (I'm one as well). I initially just wanted to avoid the clutter of a rich text editor and go for simplicity. The app is only intended as a tool to organise notes and write a draft manuscript with a minimum amount of fluff. |
Beta Was this translation helpful? Give feedback.
-
Hello,
As I understand the markdown syntax, if two lines flow one after the other without a blank line in between, the text should flow in the rendered output or (I guess) the preview. I think this is mentioned in another question but that turned into a discussion about MD vs. other formats.
Specifically, if I write some text like this:
then I would expect it to render like this:
Only an empty line should cause a hard line break, but I'm not seeing that. Instead I see line breaks at the end of each line.
If there is a setting that I'm missing, I'd appreciate a pointer to it! Thank you!
Regards, Bert
Beta Was this translation helpful? Give feedback.
All reactions