-
for example, to add a list with Before: shellcommand is amazing. After: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hmm, this is an interesting question. 🙂 To be able to better answer this, I'd need to know which operating system you are using. For now, I'll just assume you are using macOS or Linux - but if you are using Windows, let me know and I'll come up with another solution that should work for Windows. (I moved this discussion from Ideas to Q & A). macOS/Linux solution
Btw. I assume that you meant to use The shell command is quite complex to explain throughout, but I'll try to cover it roughly:
The explanation was really complex because I wanted to make it short. Please let me know if you have any questions on some details, and I'll explain more. |
Beta Was this translation helpful? Give feedback.
Hmm, this is an interesting question. 🙂
To be able to better answer this, I'd need to know which operating system you are using. For now, I'll just assume you are using macOS or Linux - but if you are using Windows, let me know and I'll come up with another solution that should work for Windows.
(I moved this discussion from Ideas to Q & A).
macOS/Linux solution
printf {{selection}} | sed -zE 's/(^|\n)/\1 - /g'
stdout
output channel to be Current file: caret position.Btw. I assume that you meant t…