Function: markdown-table-get-column

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

Signature

(markdown-table-get-column)

Documentation

Return table column 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-column ()
  "Return table column at point.
This function assumes point is on a table."
  (let ((pos (point)) (cnt 0))
    (save-excursion
      (beginning-of-line)
      (while (search-forward "|" pos t)
        (when (and (not (looking-back "\\\\|" (line-beginning-position)))
                   (not (markdown--thing-at-wiki-link (match-beginning 0))))
          (setq cnt (1+ cnt)))))
    cnt))