Function: markdown-ts--list-ordered-item-p

markdown-ts--list-ordered-item-p is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts--list-ordered-item-p ITEM)

Documentation

Return non-nil if ITEM is an ordered (numbered) list item.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--list-ordered-item-p (item)
  "Return non-nil if ITEM is an ordered (numbered) list item."
  (let ((marker (treesit-node-child item 0)))
    (member (treesit-node-type marker)
            '("list_marker_dot" "list_marker_parenthesis"))))