Function: markdown-ts--set-hide-markup

markdown-ts--set-hide-markup is a byte-compiled function defined in markdown-ts-mode.el.gz.

Signature

(markdown-ts--set-hide-markup VALUE)

Documentation

Set hiding of Markdown markup delimiters in the current buffer.

VALUE non-nil hides markup, nil shows it.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode.el.gz
(defun markdown-ts--set-hide-markup (value)
  "Set hiding of Markdown markup delimiters in the current buffer.
VALUE non-nil hides markup, nil shows it."
  (if value
      (add-to-invisibility-spec 'markdown-ts--markup)
    (remove-from-invisibility-spec 'markdown-ts--markup))
  (when markdown-ts-inline-images
    (markdown-ts--remove-image-overlays))
  (font-lock-flush))