Native script editor for PowerShell
PowerShell supports special syntax, such as multi-line commands, using the backtick as the "line continuation" character. Using this syntax, and perhaps others, breaks the Bash parser.
All you'd have to do is write the text from the editor to a file, and then execute the
pwsh -File command instead of executing Bash.