Function: markdown-follow-thing-at-point
markdown-follow-thing-at-point is an interactive and byte-compiled
function defined in markdown-mode.el.
Signature
(markdown-follow-thing-at-point ARG)
Documentation
Follow thing at point if possible, such as a reference link or wiki link.
Opens inline and reference links in a browser. Opens wiki links
to other files in the current window, or the another window if
ARG is non-nil.
See markdown-follow-link-at-point and
markdown-follow-wiki-link-at-point.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
;;; Following & Doing =========================================================
(defun markdown-follow-thing-at-point (arg)
"Follow thing at point if possible, such as a reference link or wiki link.
Opens inline and reference links in a browser. Opens wiki links
to other files in the current window, or the another window if
ARG is non-nil.
See `markdown-follow-link-at-point' and
`markdown-follow-wiki-link-at-point'."
(interactive "P")
(cond ((markdown-link-p)
(markdown-follow-link-at-point))
((markdown-wiki-link-p)
(markdown-follow-wiki-link-at-point arg))
(t
(let* ((values (markdown-link-at-pos (point)))
(url (nth 3 values)))
(unless url
(user-error "Nothing to follow at point"))
(markdown--browse-url url)))))