Function: markdown-live-preview-mode
markdown-live-preview-mode is an autoloaded, interactive and
byte-compiled function defined in markdown-mode.el.
Signature
(markdown-live-preview-mode &optional ARG)
Documentation
Toggle native previewing on save for a specific markdown file.
This is a minor mode. If called interactively, toggle the
Markdown-Live-Preview mode mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable
the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate markdown-live-preview-mode(var)/markdown-live-preview-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
;;; Live Preview Mode ========================================================
;;;###autoload
(define-minor-mode markdown-live-preview-mode
"Toggle native previewing on save for a specific markdown file."
:lighter " MD-Preview"
(if markdown-live-preview-mode
(if (markdown-live-preview-get-filename)
(markdown-display-buffer-other-window (markdown-live-preview-export))
(markdown-live-preview-mode -1)
(user-error "Buffer %s does not visit a file" (current-buffer)))
(markdown-live-preview-remove)))