Collapse Spaces
a b→→c
a b c
Details
Turns each run of spaces and tabs into a single space and leaves line breaks as they are
- Deck
- Version: 1.0.0
- Downloads: 1
- Last updated on December 6, 2026
Or install with TerminalDeck loads the plugin as soon as its files are in place.
mkdir -p ~/.deck/scripts/collapse-spaces && curl -fsSL https://github.com/yuzeguitarist/deck-plugins/releases/download/plugins/collapse-spaces-1.0.0.zip | tar -xf - -C ~/.deck/scripts/collapse-spacesQuestions
What is a script plugin?
A short piece of JavaScript that reworks text. Run it on something you copied in Deck and you get the new text back.
How do I install one?
Choose Install in Deck on the plugin's page, or paste its Terminal command.
Is it safe?
Plugins here work offline and cannot read your files. Each one passes automated checks and a review before it is listed.
How do I publish my own?
Publish it from Deck, or open a pull request on the deck-plugins repository.