Function: markdown-pre-region
markdown-pre-region is an interactive and natively 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
markdown-mode-map C-c C-s P markdown-mode-style-map P
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/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)))