icewind1991 / files_markdown

Nextcloud markdown editor
GNU Affero General Public License v3.0
293 stars 28 forks source link

Allow Github markdown, mainly enter = new line #69

Open Terrox opened 7 years ago

Terrox commented 7 years ago

Would be good to let the enter key = new line. Frustrating to have pasted text become mangled by unwrapped lines. Having to remember to double-enter is not fun.

icewind1991 commented 7 years ago

The "github style" newline handling is something I'm hesitant to add given that it can break the rendering of existing documents

Terrox commented 7 years ago

It would have to be a config option for that reason, but I think a lot of people would appreciate it.

mr-bolle commented 7 years ago

I compare a lot of different markdown editor with this one. And found a way how it works, you end the line with two or more spaces and type return.

Could you implement this way to create a new line <br /> or <br> Syntax daringfireball.net

Terrox commented 7 years ago

Double space is not as good as just pressing enter, no training required.

mr-bolle commented 7 years ago

You are right, but the syntax of Markdown should be adjusted, more information in the link above.

skjiisa commented 6 years ago

no training required.

Markdown itself requires a small amount of training, and removing that would make it less efficient. This app is following the Markdown standards as it ought to.

Terrox commented 6 years ago

Disagree for users simply reporting bugs in plain text. They need to be able to separate lines of text and cannot do this currently without remembering to double-enter and they never remember. They can even paste screenshots without any training, copy paste just works.

siriak commented 3 years ago

Any updates on that topic?