Function: markdown-ensure-blank-line-after

markdown-ensure-blank-line-after is a byte-compiled function defined in markdown-mode.el.

Signature

(markdown-ensure-blank-line-after)

Documentation

If following line is not already blank, insert a blank line after point.

Return the point where it was originally.

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-ensure-blank-line-after ()
  "If following line is not already blank, insert a blank line after point.
Return the point where it was originally."
  (save-excursion
    (unless (eolp) (insert "\n"))
    (unless (or (eobp) (looking-at-p "\n\\s-*\n")) (insert "\n"))))