On 2014-03-27 04:43, Nicolas Goaziou wrote:
Grant Rettke <g...@wisdomandwonder.com> writes:
Sacha Chua made a nice hack to export checkboxes as unicode symbols to
(defun sacha/org-html-checkbox (checkbox)
"Format CHECKBOX into HTML."
(case checkbox (on "<span class=\"check\">☑</span>") ;
(off "<span class=\"checkbox\">☐</span>")
(defadvice org-html-checkbox (around sacha activate)
(setq ad-return-value (sacha/org-html-checkbox (ad-get-arg 0))))
There is also:
(setq org-html-checkbox-type 'unicode)
You need a recent Org, though (maybe development version, I didn't
I didn't apply it in maint, so it's only in master.
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).