Variable: markdown-hide-urls

markdown-hide-urls is a customizable and buffer-local variable defined in markdown-mode.el.

Documentation

Hide URLs of inline links and reference tags of reference links.

Such URLs will be replaced by a single customizable character, defined by markdown-url-compose-char, but are still part of the buffer. Links can be edited interactively with M-x markdown-insert-link (markdown-insert-link) or, for example, by deleting the final parenthesis to remove the invisibility property. You can also hover your mouse pointer over the link text to see the URL. Set this to a non-nil value to turn this feature on by default. You can interactively set the value of this variable by calling markdown-toggle-url-hiding, pressing M-x markdown-toggle-url-hiding (markdown-toggle-url-hiding), or from the menu Markdown > Links & Images menu.

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

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defcustom markdown-hide-urls nil
  "Hide URLs of inline links and reference tags of reference links.
Such URLs will be replaced by a single customizable
character, defined by `markdown-url-compose-char', but are still part
of the buffer.  Links can be edited interactively with
\\[markdown-insert-link] or, for example, by deleting the final
parenthesis to remove the invisibility property. You can also
hover your mouse pointer over the link text to see the URL.
Set this to a non-nil value to turn this feature on by default.
You can interactively set the value of this variable by calling
`markdown-toggle-url-hiding', pressing \\[markdown-toggle-url-hiding],
or from the menu Markdown > Links & Images menu."
  :group 'markdown
  :type 'boolean
  :safe 'booleanp
  :package-version '(markdown-mode . "2.3"))