Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown view ignores line breaks #9

Closed
janhenke opened this issue May 31, 2015 · 8 comments
Closed

Markdown view ignores line breaks #9

janhenke opened this issue May 31, 2015 · 8 comments

Comments

@janhenke
Copy link

Opening any any note in the editor view produces correct formatting. Switching to the Markdown view for the same note, all line breaks are no longer displayed and the whole formatting is broken.

@pbek
Copy link
Owner

pbek commented May 31, 2015

Did you try using it on a local filesystem? Under which OS did you get this behavior?

@janhenke
Copy link
Author

Note files are on the local file system. I see the same behaviour with both Linux and Windows.

@pbek
Copy link
Owner

pbek commented May 31, 2015

Ah, now I know what you mean. In Markdown a line break does not result in a line break, you have to use two ore more spaces and a line break.
http://daringfireball.net/projects/markdown/syntax#p

@pbek pbek closed this as completed May 31, 2015
@janhenke
Copy link
Author

Well QOwnNotes has the bad habit of removing blank lines. So leaving two empty lines is currently not possible.

@pbek
Copy link
Owner

pbek commented May 31, 2015

I can't reproduce this behaviour on Win7. :(
But can you do two spaces and a line break?

@janhenke
Copy link
Author

Why two spaces? A blank line is enough to split one paragraph from the next. Quoting from the above link:

A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines.

Blank really means a line break immediately followed by another line break. That must work.

QOwnNotes must not remove any blank lines from the note. Do not mistaken my issues, I like the application, just trying to improve it.

@pbek
Copy link
Owner

pbek commented Jun 1, 2015

QOwnNotes doesn't remove blank lines in the edit view, at least not under Windows 7, Mac and Linux. Do you have that problem under Linux too?

@janhenke
Copy link
Author

janhenke commented Jun 1, 2015

I had it happen yesterday, but I cannot yet reproduce it reliable yet. I will keep an eye on it and report back if I notice a pattern which triggers this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants