Function: markdown-fontify-plain-uris

markdown-fontify-plain-uris is a natively compiled function defined in markdown-mode.el.

Signature

(markdown-fontify-plain-uris LAST)

Documentation

Add text properties to plain URLs from point to LAST.

Source Code

;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-fontify-plain-uris (last)
  "Add text properties to plain URLs from point to LAST."
  (when (markdown-match-plain-uris last)
    (let* ((start (match-beginning 0))
           (end (match-end 0))
           (props (list 'keymap markdown-mode-mouse-map
                        'face 'markdown-plain-url-face
                        'rear-nonsticky t
                        'font-lock-multiline t)))
      (when markdown-mouse-follow-link
        (setq props (append props '(mouse-face markdown-highlight-face))))
      (add-text-properties start end props)
      t)))