mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-07 21:07:11 +00:00
docs: clarify multi-line MOTD (#2441)
This commit is contained in:
1 parent
8cdf4d0072
commit
1ffcb5c221
1 file changed
+2
-2
@@ -24,9 +24,9 @@ renders
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user