Function: shr-heading
shr-heading is a byte-compiled function defined in shr.el.gz.
Signature
(shr-heading DOM &rest TYPES)
Source Code
;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defun shr-heading (dom &rest types)
(shr-ensure-paragraph)
(let ((start (point))
(level (string-to-number
(string-remove-prefix "shr-h" (symbol-name (car types))))))
(apply #'shr-fontize-dom dom types)
(put-text-property start (pos-eol) 'outline-level level))
(shr-ensure-paragraph))