Variable: markdown-link-make-text-function

markdown-link-make-text-function is a customizable variable defined in markdown-mode.el.

Value

nil

Documentation

Function that automatically generates a link text for a URL.

If non-nil, this function will be called by markdown--insert-link-or-image and the result will be the default link text. The function should receive exactly one argument that corresponds to the link URL.

This variable was added, or its default value changed, in markdown-mode version 2.5.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defcustom markdown-link-make-text-function nil
  "Function that automatically generates a link text for a URL.

If non-nil, this function will be called by
`markdown--insert-link-or-image' and the result will be the
default link text. The function should receive exactly one
argument that corresponds to the link URL."
  :group 'markdown
  :type 'function
  :package-version '(markdown-mode . "2.5"))