benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.49k stars 2.7k forks source link

Automatically splitting long lines in source without word wrap? #1785

Open Krellan opened 2 years ago

Krellan commented 2 years ago

Is there a way to automatically split long lines, in the Markdown source (left pane)?

I'm looking for a way to ensure that, in the Markdown source, each line does not exceed a certain number of characters per line, for example, 79.

This should not affect the rendering of the final document (right pane) at all, this is merely a source code formatting consideration.

Unfortunately, there doesn't seem to be a way to enable automatic line splitting when typing, or a button on the taskbar that cna be clicked to rewrap a paragraph, or automatic rewrapping of long source lines upon save. Either of these would be great to have.

Is there a setting that I'm missing here?

Thanks! Josh

71GA commented 1 year ago

I agree. Really stupid design...