Function: markdown-insert-inline-link
markdown-insert-inline-link is a natively compiled function defined in
markdown-mode.el.
Signature
(markdown-insert-inline-link TEXT URL &optional TITLE)
Documentation
Insert an inline link with TEXT pointing to URL.
Optionally, the user can provide a TITLE.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-insert-inline-link (text url &optional title)
"Insert an inline link with TEXT pointing to URL.
Optionally, the user can provide a TITLE."
(let ((cur (point)))
(setq title (and title (concat " \"" title "\"")))
(insert (concat "[" text "](" url title ")"))
(cond ((not text) (goto-char (+ 1 cur)))
((not url) (goto-char (+ 3 (length text) cur))))))