Function: markdown-backward-page
markdown-backward-page is an interactive and byte-compiled function
defined in markdown-mode.el.
Signature
(markdown-backward-page &optional COUNT)
Documentation
Move backward to boundary of the current toplevel section.
With COUNT, repeat, or go forward if negative.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-backward-page (&optional count)
"Move backward to boundary of the current toplevel section.
With COUNT, repeat, or go forward if negative."
(interactive "p")
(or count (setq count 1))
(if (< count 0)
(markdown-forward-page (- count))
(skip-syntax-backward "-")
(or (markdown-back-to-heading-over-code-block t t)
(goto-char (point-min)))
(when (looking-at markdown-regex-header)
(let ((level (markdown-outline-level)))
(when (> level 1) (markdown-up-heading level))
(when (> count 1)
(condition-case nil
(markdown-backward-same-level (1- count))
(error (goto-char (point-min)))))))))