Function: markdown-fontify-angle-uris

markdown-fontify-angle-uris is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-fontify-angle-uris LAST)

Documentation

Add text properties to angle URIs from point to LAST.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-fontify-angle-uris (last)
  "Add text properties to angle URIs from point to LAST."
  (when (markdown-match-angle-uris last)
    (let ((url-start (match-beginning 2))
          (url-end (match-end 2)))
      (unless (or (markdown-in-inline-code-p url-start)
                  (markdown-in-inline-code-p url-end))
        (let ((mp (append '(face markdown-markup-face) (cl-copy-list markdown--markup-props)))
              ;; URI part
              (up (list 'keymap markdown-mode-mouse-map
                        'face 'markdown-plain-url-face
                        'font-lock-multiline t)))
          (when markdown-mouse-follow-link
            (setq up (append up '(mouse-face markdown-highlight-face))))
          (dolist (g '(1 3))
            (add-text-properties (match-beginning g) (match-end g) mp))
          (add-text-properties url-start url-end up)
          t)))))