Function: markdown-complete-hr
markdown-complete-hr is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-complete-hr)
Documentation
Complete horizontal rules.
If horizontal rule string is a member of markdown-hr-strings,
do nothing. Otherwise, replace with the car of
markdown-hr-strings.
Assumes match data is available for markdown-regex-hr.
Return nil if markup was complete and non-nil if markup was completed.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-complete-hr ()
"Complete horizontal rules.
If horizontal rule string is a member of `markdown-hr-strings',
do nothing. Otherwise, replace with the car of
`markdown-hr-strings'.
Assumes match data is available for `markdown-regex-hr'.
Return nil if markup was complete and non-nil if markup was completed."
(when (markdown-incomplete-hr-p)
(replace-match (car markdown-hr-strings))
t))