Fixed examples using piped command output. Closes #4.

This commit is contained in:
Fabian Schlenz 2020-04-27 20:19:39 +02:00 committed by GitHub
parent 8f9e3adec1
commit ed3ea7e06e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,14 +92,14 @@ $ ./matrix.sh --html "This is <strong>very important</strong>."
#### Piping command output:
```
$ echo "Hello" | ./matrix.sh
$ echo "Hello" | ./matrix.sh -
```
#### Code formatting:
You can use `--pre` to send messages formatted as code. This will also escape
HTML tags.
```
$ ls -l | ./matrix.sh --pre
$ ls -l | ./matrix.sh --pre -
```
#### Sending files: