Function: markdown-insert-strike-through

markdown-insert-strike-through is an interactive and byte-compiled function defined in markdown-mode.el.

Signature

(markdown-insert-strike-through)

Documentation

Insert markup to make a region or word strikethrough.

If there is an active region, make the region strikethrough. If the point is at a non-bold word, make the word strikethrough. If the point is at a strikethrough word or phrase, remove the strikethrough markup. Otherwise, simply insert bold delimiters and place the point in between them.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-insert-strike-through ()
  "Insert markup to make a region or word strikethrough.
If there is an active region, make the region strikethrough.  If the point
is at a non-bold word, make the word strikethrough.  If the point is at a
strikethrough word or phrase, remove the strikethrough markup.  Otherwise,
simply insert bold delimiters and place the point in between them."
  (interactive)
  (markdown--insert-common
   "~~" "~~" markdown-regex-strike-through 2 4 'markdown-strike-through-face t))