Function: markdown-table-align-raw
markdown-table-align-raw is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-table-align-raw CELLS FMTSPEC WIDTHS)
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-table-align-raw (cells fmtspec widths)
(let (fmt width)
(mapconcat
(lambda (cell)
(setq fmt (car fmtspec) fmtspec (cdr fmtspec))
(setq width (car widths) widths (cdr widths))
(if (equal fmt 'c)
(setq cell (concat (make-string (/ (- width (markdown--string-width cell)) 2) ?\s) cell)))
(unless (equal fmt 'r) (setq width (- width)))
(format (format " %%%ds " width) cell))
cells "|")))