Function: markdown-table-get-dline

markdown-table-get-dline is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-table-get-dline)

Documentation

Return index of the table data line at point.

This function assumes point is on a table.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-table-get-dline ()
  "Return index of the table data line at point.
This function assumes point is on a table."
  (let ((pos (point)) (end (markdown-table-end)) (cnt 0))
    (save-excursion
      (goto-char (markdown-table-begin))
      (while (and (re-search-forward
                   markdown-table-dline-regexp end t)
                  (setq cnt (1+ cnt))
                  (< (line-end-position) pos))))
    cnt))