From 1ffcb5c2214cad9c153f45819f55b09f3de32d78 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Mon, 16 Oct 2023 13:59:43 -0500 Subject: [PATCH] docs: clarify multi-line MOTD (#2441) --- docs/configuration/server-properties.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration/server-properties.md b/docs/configuration/server-properties.md index ebd21371..30428830 100644 --- a/docs/configuration/server-properties.md +++ b/docs/configuration/server-properties.md @@ -24,9 +24,9 @@ renders ![](../img/motd-example.png) -To produce a multi-line MOTD, you will need to double escape the newline such as +To produce a multi-line MOTD, embed a newline character as `\n` in the string, such as - -e MOTD="Line one\\nLine two" + -e MOTD="Line one\nLine two" ### Difficulty