Function: markdown-ts--line-block-quote-depth
markdown-ts--line-block-quote-depth is a byte-compiled function
defined in markdown-ts-mode.el.gz.
Signature
(markdown-ts--line-block-quote-depth &optional POS)
Documentation
Count the number of > block quote markers on the line at POS.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--line-block-quote-depth (&optional pos)
"Count the number of `>' block quote markers on the line at POS."
(save-excursion
(when pos (goto-char pos))
(beginning-of-line)
(let ((count 0))
(while (and (not (eolp))
(memq (char-after) '(?> ?\s ?\t)))
(when (eq (char-after) ?>)
(setq count (1+ count)))
(forward-char 1))
count)))