Function: markdown-beginning-of-text-block

markdown-beginning-of-text-block is an interactive and byte-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

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/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))))))