Function: markdown-toggle-url-hiding

markdown-toggle-url-hiding is an interactive and natively 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

markdown-mode-map C-c C-x C-l

Source Code

;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/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))