Function: markdown-narrow-to-block

markdown-narrow-to-block is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-narrow-to-block)

Documentation

Make text outside current block invisible.

The current block is the one that contains point or follows point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-narrow-to-block ()
  "Make text outside current block invisible.
The current block is the one that contains point or follows point."
  (interactive)
  (let ((beginning-of-defun-function #'markdown-backward-block)
        (end-of-defun-function #'markdown-forward-block))
    (narrow-to-defun)))