Function: markdown-toggle-url-hiding

markdown-toggle-url-hiding is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-toggle-url-hiding &optional ARG)

Documentation

Toggle the display or hiding of URLs.

With a prefix argument ARG, enable URL hiding if ARG is positive, and disable it otherwise.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-toggle-url-hiding (&optional arg)
  "Toggle the display or hiding of URLs.
With a prefix argument ARG, enable URL hiding if ARG is positive,
and disable it otherwise."
  (interactive (list (or current-prefix-arg 'toggle)))
  (setq markdown-hide-urls
        (if (eq arg 'toggle)
            (not markdown-hide-urls)
          (> (prefix-numeric-value arg) 0)))
  (when (called-interactively-p 'interactive)
    (message "markdown-mode URL hiding %s" (if markdown-hide-urls "enabled" "disabled")))
  (markdown-reload-extensions))