Function: org-ascii--checkbox
org-ascii--checkbox is a byte-compiled function defined in
ox-ascii.el.gz.
Signature
(org-ascii--checkbox ITEM INFO)
Documentation
Return checkbox string for ITEM or nil.
INFO is a plist used as a communication channel.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-ascii.el.gz
(defun org-ascii--checkbox (item info)
"Return checkbox string for ITEM or nil.
INFO is a plist used as a communication channel."
(let ((utf8p (eq (plist-get info :ascii-charset) 'utf-8)))
(pcase (org-element-property :checkbox item)
(`on (if utf8p "☑ " "[X] "))
(`off (if utf8p "☐ " "[ ] "))
(`trans (if utf8p "☒ " "[-] ")))))