Function: markdown-toggle-markup-hiding
markdown-toggle-markup-hiding is an interactive and byte-compiled
function defined in markdown-mode.el.
Signature
(markdown-toggle-markup-hiding &optional ARG)
Documentation
Toggle the display or hiding of markup.
With a prefix argument ARG, enable markup hiding if ARG is positive,
and disable it otherwise.
See markdown-hide-markup for additional details.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-toggle-markup-hiding (&optional arg)
"Toggle the display or hiding of markup.
With a prefix argument ARG, enable markup hiding if ARG is positive,
and disable it otherwise.
See `markdown-hide-markup' for additional details."
(interactive (list (or current-prefix-arg 'toggle)))
(setq markdown-hide-markup
(if (eq arg 'toggle)
(not markdown-hide-markup)
(> (prefix-numeric-value arg) 0)))
(if markdown-hide-markup
(add-to-invisibility-spec 'markdown-markup)
(remove-from-invisibility-spec 'markdown-markup))
(when (called-interactively-p 'interactive)
(message "markdown-mode markup hiding %s" (if markdown-hide-markup "enabled" "disabled")))
(markdown-reload-extensions))