Function: markdown-ts-toc-clear-and-remove
markdown-ts-toc-clear-and-remove is an 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
(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))