Escape Newlines
a↵
ba\nb
Details
Replaces each line break with a literal \n, giving one line of text
- Deck
- Version: 1.0.0
- Downloads: 1
- Last updated on December 5, 2026
Or install with TerminalDeck loads the plugin as soon as its files are in place.
mkdir -p ~/.deck/scripts/escape-newlines && curl -fsSL https://github.com/yuzeguitarist/deck-plugins/releases/download/plugins/escape-newlines-1.0.0.zip | tar -xf - -C ~/.deck/scripts/escape-newlinesQuestions
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.