mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-12 23:27:13 +00:00
docs: clarify multi-line MOTD (#2441)
This commit is contained in:
parent
8cdf4d0072
commit
1ffcb5c221
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue