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

word wrap mode in markdown cells #188

Open
dov opened this issue Jan 23, 2017 · 3 comments
Open

word wrap mode in markdown cells #188

dov opened this issue Jan 23, 2017 · 3 comments

Comments

@dov
Copy link

dov commented Jan 23, 2017

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.

@millejoh
Copy link

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.

@dov
Copy link
Author

dov commented Jan 23, 2017

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).

@notmike-5
Copy link

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?

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

3 participants