Function: markdown-up-heading

markdown-up-heading is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-up-heading ARG &optional INTERACTIVE)

Documentation

Move to the visible heading line of which the present line is a subheading.

With argument, move up ARG levels. When called interactively (or INTERACTIVE is non-nil), also push the mark.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-up-heading (arg &optional interactive)
  "Move to the visible heading line of which the present line is a subheading.
With argument, move up ARG levels.  When called interactively (or
INTERACTIVE is non-nil), also push the mark."
  (interactive "p\np")
  (and interactive (not (eq last-command 'markdown-up-heading))
       (push-mark))
  (markdown-move-heading-common #'outline-up-heading arg 'adjust))