Function: markdown-syntax-propertize-hrs

markdown-syntax-propertize-hrs is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-syntax-propertize-hrs START END)

Documentation

Match horizontal rules from START to END.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-syntax-propertize-hrs (start end)
  "Match horizontal rules from START to END."
  (save-excursion
    (goto-char start)
    (while (re-search-forward markdown-regex-hr end t)
      (let ((beg (match-beginning 0))
            (end (match-end 0)))
        (goto-char beg)
        (unless (or (markdown-on-heading-p)
                    (markdown-code-block-at-point-p))
          (put-text-property beg end 'markdown-hr (match-data t)))
        (goto-char end)))))