Merge pull request #18999 from occ/patch-1

Specify syntax highlighters for yaml blocks and console blocks
This commit is contained in:
David Karlsson 2024-01-02 12:59:52 +01:00 committed by GitHub
commit 15d17241b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ counter whenever you visit it.
5. Create a file called `compose.yml` and paste this in: 5. Create a file called `compose.yml` and paste this in:
```none ```yaml
services: services:
web: web:
image: 127.0.0.1:5000/stackdemo image: 127.0.0.1:5000/stackdemo
@ -140,7 +140,7 @@ counter whenever you visit it.
Compose doesn't take advantage of swarm mode, and deploys everything to a Compose doesn't take advantage of swarm mode, and deploys everything to a
single node. You can safely ignore this. single node. You can safely ignore this.
```none ```console
$ docker compose up -d $ docker compose up -d
WARNING: The Docker Engine you're using is running in swarm mode. WARNING: The Docker Engine you're using is running in swarm mode.