Function: markdown-ts-toc-clear-and-remove

markdown-ts-toc-clear-and-remove is an autoloaded, interactive and byte-compiled function defined in markdown-ts-mode-x.el.gz.

Signature

(markdown-ts-toc-clear-and-remove &optional BEG END)

Documentation

Remove markdown-ts-mode table of contents bodies and templates.

Operate on the active region BEG to END, otherwise operate on the buffer, which may be narrowed.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/markdown-ts-mode-x.el.gz
;;;###autoload
(defun markdown-ts-toc-clear-and-remove (&optional beg end)
  "Remove `markdown-ts-mode' table of contents bodies and templates.
Operate on the active region BEG to END, otherwise operate on the
buffer, which may be narrowed."
  (interactive "R")
  (markdown-ts--barf-if-not-mode 'markdown-ts-toc-clear-and-remove)
  (markdown-ts-toc-clear beg end 'remove))