Function: markdown-match-math-single

markdown-match-math-single is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-match-math-single LAST)

Documentation

Match single quoted $..$ math from point to LAST.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-match-math-single (last)
  "Match single quoted $..$ math from point to LAST."
  (when markdown-enable-math
    (when (and (char-equal (char-after) ?$)
               (not (bolp))
               (not (char-equal (char-before) ?\\))
               (not (char-equal (char-before) ?$)))
      (forward-char -1))
    (markdown-match-math-generic markdown-regex-math-inline-single last)))