Function: markdown-pre-region

markdown-pre-region is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-pre-region BEG END)

Documentation

Format the region as preformatted text.

Arguments BEG and END specify the beginning and end of the region.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-pre-region (beg end)
  "Format the region as preformatted text.
Arguments BEG and END specify the beginning and end of the region."
  (interactive "*r")
  (let ((indent (markdown-pre-indentation (max (point-min) (1- beg)))))
    (markdown-block-region beg end indent)))