Function: markdown--get-remote-image
markdown--get-remote-image is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown--get-remote-image URL)
Documentation
Retrieve the image path for a given URL.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown--get-remote-image (url)
"Retrieve the image path for a given URL."
(or (gethash url markdown--remote-image-cache)
(let ((dl-path (make-temp-file "markdown-mode--image")))
(require 'url)
(url-copy-file url dl-path t)
(puthash url dl-path markdown--remote-image-cache))))