Function: markdown-insert-inline-link
markdown-insert-inline-link is a byte-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 ~/.emacs.d/elpa/markdown-mode-20260321.143/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))))))