-
Notifications
You must be signed in to change notification settings - Fork 121
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
Line formatting when reading an entry #493
Comments
You could try using an unfill function to reformat the text so it's on one line per paragraph, then let Emacs handle the line-wrapping. I use olivetti-mode to center the text in the buffer. I have this which might be helpful: (use-package unfill
:straight t
:config
(defun jjh/unfill-buffer ()
"Loop through all the paragraphs in this buffer and unfill them."
(interactive)
(goto-char (point-min))
(while (not (eobp))
(condition-case ex (unfill-paragraph)
(error
(message "Skipping Paragraph: %s" ex)))
(forward-paragraph))))
|
Thank you for this approach, I use |
With Olivetti and Elfeed, refreshing Elfeed-show (with 'g') fixes the improper line-breaks (and incorrectly-sized, cut-off images). The following function does it automatically whenever you open an entry in Elfeed-show.
|
Hello,
Line breaks and formatting seems to break when I open a window to read an entry in elfeed, here are two screenshots to explain what I mean.
With two frames:
Here it is when it is the only frame,
I have golden ratio enabled if that is useful information.
Thank you!
The text was updated successfully, but these errors were encountered: