Function: org-html-html5-p

org-html-html5-p is a byte-compiled function defined in ox-html.el.gz.

Signature

(org-html-html5-p INFO)

Documentation

Return non-nil when :html-doctype property in INFO plist is html5 or equivalent.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html-html5-p (info)
  "Return non-nil when :html-doctype property in INFO plist is html5 or equivalent."
  (let ((dt (downcase (plist-get info :html-doctype))))
    (member dt '("html5" "xhtml5" "<!doctype html>"))))