Function: markdown-incomplete-setext-p
markdown-incomplete-setext-p is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-incomplete-setext-p)
Documentation
Return t if setext header markup is incomplete and nil otherwise.
Assumes match data is available for markdown-regex-header-setext.
Checks that length of underline matches text and that there is no
extraneous whitespace in the text.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-incomplete-setext-p ()
"Return t if setext header markup is incomplete and nil otherwise.
Assumes match data is available for `markdown-regex-header-setext'.
Checks that length of underline matches text and that there is no
extraneous whitespace in the text."
(or (not (= (length (match-string 1)) (length (match-string 2))))
(string-match-p "[ \t\n]\\{2\\}" (match-string 1))))