Function: markdown-fontify-plain-uris

markdown-fontify-plain-uris is a byte-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 ~/.emacs.d/elpa/markdown-mode-20260321.143/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)))