Open dov opened 7 years ago
Maybe M-x fill-paragraph
(commonly bound to M-q
) or auto-fill-mode
do what you have in mind? There is also visual-line-mode
. I'm not 100% that visual-line-mode does the right thing for the visual presentation, but you can enable it and still work in the notebook.
Indeed I meant visual-line-mode
, but only in the markdown cells. Having it applied to either python input or output cells would be very confusing. If authoring text on my own, then fill mode indeed does the job, but when trying to follow an external notebook, with single lines for paragraphs in markdown mode, it would nice to have some pretty display, like e.g. line breaking. Of course it would be even nicer to have different fonts and sizes for the markup mode as well, which emacs is certainly capable off. (Compare org-mode).
I also have this issue. I have visual-line-mode
set globally, but when I go into ein
it is unset for all the blocks. I can see why this would be desirable for python blocks but I would like my markdown blocks to be easily readable. Any ideas how to do it?
I'm not sure whether emacs supports per paragraph wrap mode, but if it does it would be nice to be able to turn on word wrap mode for markdown cells. An alternative would be to insert new lines into the emacs buffer when loading markdown cells and removing them when saving.