Function: markdown-match-escape
markdown-match-escape is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-match-escape LAST)
Documentation
Match escape characters (backslashes) from point to LAST.
Backlashes only count as escape characters outside of literal
regions (e.g. code blocks). See markdown-literal-faces.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-match-escape (last)
"Match escape characters (backslashes) from point to LAST.
Backlashes only count as escape characters outside of literal
regions (e.g. code blocks). See `markdown-literal-faces'."
(catch 'found
(while (search-forward-regexp markdown-regex-escape last t)
(let* ((face (get-text-property (match-beginning 1) 'face))
(face-list (if (listp face) face (list face))))
;; Ignore any backslashes with a literal face.
(unless (cl-intersection face-list markdown-literal-faces)
(throw 'found t))))))