Function: markdown-electric-backquote

markdown-electric-backquote is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-electric-backquote ARG)

Documentation

Insert a backquote.

The numeric prefix argument ARG says how many times to repeat the insertion. Call markdown-insert-gfm-code-block interactively if three backquotes inserted at the beginning of line.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-electric-backquote (arg)
  "Insert a backquote.
The numeric prefix argument ARG says how many times to repeat the insertion.
Call `markdown-insert-gfm-code-block' interactively
if three backquotes inserted at the beginning of line."
  (interactive "*P")
  (self-insert-command (prefix-numeric-value arg))
  (when (and markdown-gfm-use-electric-backquote (looking-back "^```" nil))
    (replace-match "")
    (call-interactively #'markdown-insert-gfm-code-block)))