Function: markdown-beginning-of-text-block
markdown-beginning-of-text-block is an interactive and natively
compiled function defined in markdown-mode.el.
Signature
(markdown-beginning-of-text-block)
Documentation
Move backward to previous beginning of a plain text block.
This function simply looks for blank lines without considering
the surrounding context in light of Markdown syntax. For that, see
markdown-backward-block.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-beginning-of-text-block ()
"Move backward to previous beginning of a plain text block.
This function simply looks for blank lines without considering
the surrounding context in light of Markdown syntax. For that, see
`markdown-backward-block'."
(interactive)
(let ((start (point)))
(if (re-search-backward markdown-regex-block-separator nil t)
(goto-char (match-end 0))
(goto-char (point-min)))
(when (and (= start (point)) (not (bobp)))
(forward-line -1)
(if (re-search-backward markdown-regex-block-separator nil t)
(goto-char (match-end 0))
(goto-char (point-min))))))