Deck
All plugins

Trim Trailing Newlines

Before
hello↵
After
hello

Details

Removes the line breaks at the end of the text

  • Deck
  • Version: 1.0.0
  • Downloads: 1
  • Last updated on December 5, 2026

Or install with Terminal
mkdir -p ~/.deck/scripts/trim-trailing-newlines && curl -fsSL https://github.com/yuzeguitarist/deck-plugins/releases/download/plugins/trim-trailing-newlines-1.0.0.zip | tar -xf - -C ~/.deck/scripts/trim-trailing-newlines
Deck loads the plugin as soon as its files are in place.

Questions

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.