Function: markdown-ts--section-at-point

markdown-ts--section-at-point is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts--section-at-point)

Documentation

Return the section node containing point.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--section-at-point ()
  "Return the section node containing point."
  (when-let* ((node (treesit-node-at (point) 'markdown)))
    (treesit-parent-until
     node (lambda (n) (equal (treesit-node-type n) "section")))))