Dnia 2014-03-28, o godz. 10:59:43 Rick Frankel <r...@rickster.com> napisaĆ(a):
> On 2014-03-28 10:01, Sebastien Vauban wrote: > > Rick Frankel wrote: > > BTW, i used "[ ]" for the unchecked box (we use the same for > > checked and trans)... I think i'll change the unchecked box to > > ☐ to match the checked box (same as sachua). > > > > Isn't it error-prone and very misleading to have 3 different states > > in the Org files, and just 2 different in the HTML exports? > > There *are* three different states in the exported file -- the > "transient" mode is for partially completed rollups: > > #+BEGIN_SRC org > ,* rollup > - [-] All done > - [X] one > - [ ] two > #+END_SRC > > Generates (abbreviated and indented): > > #+BEGIN_SRC html > <ul class="org-ul"> > <li><code>[-]</code> All done > <ul class="org-ul"> > <li><code>[X]</code> one > </li> > <li><code>[ ]</code> two > </li> > </ul> > </li> > </ul> > #+END_SRC Wouldn't it be better to have (maybe in addition) three distinct classes for the <li> elements with checkboxes in various states? This would make styling them with CSS possible. > rick Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University