Delete slide by slide number with automatic renumbering
/plugin marketplace add rhuss/cc-slidev/plugin install slidev@slidev-dev-marketplace<slide-number># Delete Slide Command Delete a slide by its slide number (from `<!-- Slide N: ... -->` comment). All subsequent slides are automatically renumbered to close gaps. **IMPORTANT: Argument is SLIDE NUMBER (e.g., 6 for Slide 6), NOT list position** **IMPORTANT: Go DIRECTLY to the script - do NOT read slides.md or display structure first** ## Execution ### 1. Parse Slide Number Extract slide number from `$ARGUMENTS`. If missing, show: `"Usage: /slidev:delete <slide-number>"` ### 2. Confirm Deletion Ask for simple confirmation: If cancelled, exit with: "Cancelled." ### 3. Execute Scri...