Function: markdown-prev-line-blank

markdown-prev-line-blank is a natively compiled function defined in markdown-mode.el.

Signature

(markdown-prev-line-blank)

Documentation

Return t if the previous line is blank and nil otherwise.

If we are at the first line, then consider the previous line to be blank.

Source Code

;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-prev-line-blank ()
  "Return t if the previous line is blank and nil otherwise.
If we are at the first line, then consider the previous line to be blank."
  (or (= (line-beginning-position) (point-min))
      (save-excursion
        (forward-line -1)
        (looking-at markdown-regex-blank-line))))