Update compliments README.md for multi-line support.

This commit is contained in:
ubertao 2018-09-20 09:09:06 +08:00
parent cad7debc5b
commit d76c924ad1

View File

@ -107,6 +107,13 @@ config: {
}
````
#### Multi-line compliments:
Use `\n` to split compliment text into multiple lines, e.g. `First line.\nSecond line.` will be shown as:
```
First line.
Second line.
```
### External Compliment File
You may specify an external file that contains the three compliment arrays. This is particularly useful if you have a
large number of compliments and do not wish to crowd your `config.js` file with a large array of compliments.