mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
docs: clarify multi-line MOTD (#2441)
This commit is contained in:
parent
8cdf4d0072
commit
1ffcb5c221
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user