cog1tar3 · 2022-05-04 02:20
I have a script that will send the value of some Linux terminal command to a discord channel such that:
`./script.sh $(cat` [`somefile.org`](https://somefile.org)`)`
and I am trying to figure out how I cant have the text displayed in the discord channel as it does in org mode.
Faerryn · 2022-05-04 03:55
You may want to actually pipe `somefile.org` into your script if you can.
```cat somefile.org | ./script.sh```
Since otherwise you are going to have to do tedious argument parsing and maybe lose newlines and all that.
Kyo91 · 2022-05-04 17:50
I think discord largely uses markdown formatting, so it might work better to export to markdown before pasting into discord