Function: markdown-narrow-to-page

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

Signature

(markdown-narrow-to-page)

Documentation

Make text outside current top level section invisible.

The current section 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-page ()
  "Make text outside current top level section invisible.
The current section is the one that contains point or follows point."
  (interactive)
  (let ((beginning-of-defun-function #'markdown-backward-page)
        (end-of-defun-function #'markdown-forward-page))
    (narrow-to-defun)))