Function: markdown-table-colfmt
markdown-table-colfmt is a natively compiled function defined in
markdown-mode.el.
Signature
(markdown-table-colfmt FMTSPEC)
Documentation
Process column alignment specifier FMTSPEC for tables.
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-colfmt (fmtspec)
"Process column alignment specifier FMTSPEC for tables."
(when (stringp fmtspec)
(mapcar (lambda (x)
(cond ((string-match-p "^:.*:$" x) 'c)
((string-match-p "^:" x) 'l)
((string-match-p ":$" x) 'r)
(t 'd)))
(markdown--split-string fmtspec "\\s-*|\\s-*"))))