Function: markdown-table-get-column

markdown-table-get-column is a natively 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 /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/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))