From d76c924ad11649959941b430c31fc0c35758a602 Mon Sep 17 00:00:00 2001 From: ubertao Date: Thu, 20 Sep 2018 09:09:06 +0800 Subject: [PATCH] Update compliments README.md for multi-line support. --- modules/default/compliments/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/default/compliments/README.md b/modules/default/compliments/README.md index 8f796888..7220cd29 100644 --- a/modules/default/compliments/README.md +++ b/modules/default/compliments/README.md @@ -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.