When I export an org-mode file to HTML, I’d like to limit the line width to make it easier to read. Can setting max-width with #+ATTR_HTML: help me do that? If so, how? If not, is there a way? I’d prefer doing it on a per-file basis rather than globally or per-paragraph.
I’m using Emacs 23.3.1 and org-mode 7.8.03.
Hi, there.
Note that using only the max-width tag as advised above will place the entire body content to left by default. If you wanted, additionally, to center it on the screen, you need to add and set the margin tag to auto by adding
margin: auto;It makes it to look much better for me, try it.