Function: markdown-match-math-double

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

Signature

(markdown-match-math-double LAST)

Documentation

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

Source Code

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