Function: markdown-ts--table-make-aligner
markdown-ts--table-make-aligner is a byte-compiled function defined in
markdown-ts-mode.el.gz.
Signature
(markdown-ts--table-make-aligner WIDTH ALIGN)
Documentation
Make a Markdown column aligner.
WIDTH is the column width.
ALIGN is one of left center right unspecified.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--table-make-aligner (width align)
"Make a Markdown column aligner.
WIDTH is the column width.
ALIGN is one of `left' `center' `right' `unspecified'."
(pcase align
('left
(concat ":" (make-string (1- width) ?-)))
('center
(concat ":" (make-string (- width 2) ?-) ":"))
('right
(concat (make-string (1- width) ?-) ":"))
(_
(concat (make-string width ?-)))))