Function: markdown-remove-header
markdown-remove-header is an interactive and natively compiled
function defined in markdown-mode.el.
Signature
(markdown-remove-header)
Documentation
Remove header markup if point is at a header.
Return bounds of remaining header text if a header was removed and nil otherwise.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/p33zgg95aglc47pl6zlgs43vki0snxf8-emacs-packages-deps/share/emacs/site-lisp/elpa/markdown-mode-20260827.909/markdown-mode.el
(defun markdown-remove-header ()
"Remove header markup if point is at a header.
Return bounds of remaining header text if a header was removed
and nil otherwise."
(interactive "*")
(or (markdown-unwrap-thing-at-point markdown-regex-header-atx 0 2)
(markdown-unwrap-thing-at-point markdown-regex-header-setext 0 1)))