Subject: Indentation in html tables
Date: Saturday 17th July 2010 02:20:04 UTC (over 7 years ago)
I frequently use a columnview dynamic block to create a table (generally a task list, with effort estimates and notes). I export these to HTML, so they look pretty for my Emacsphobic colleagues. I've noticed that when my table includes nested levels, sometimes the level is indicated in the HTML with *'s, and other times a of invisible x's is used instead. I haven't had any luck trying to figure out why this happens, or what I'm doing differently to get one or the other. Can anyone explain this? I prefer to use padding for indentation, since some of my headings get wrapped to several lines. Padding prevents the second and subsequent lines from starting at the left edge, making the structure of the table clearer. For those who share this preference, I present the following from my .emacs. When exporting a table to HTML, it replaces invisible x's with *'s, and converts *'s to a padding directive: (add-hook 'org-export-html-final-hook (lambda () (goto-char (point-min)) (while (re-search-forward "