From 25fd0cb073716edae7060c88d184f565e9eb33dd Mon Sep 17 00:00:00 2001 From: Onur Can Cakmak Date: Sat, 30 Dec 2023 12:26:25 -0500 Subject: [PATCH] Specify syntax highlighters for yaml blocks and console blocks --- content/engine/swarm/stack-deploy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/engine/swarm/stack-deploy.md b/content/engine/swarm/stack-deploy.md index 52cd2fdd99..cda1e62e36 100644 --- a/content/engine/swarm/stack-deploy.md +++ b/content/engine/swarm/stack-deploy.md @@ -113,7 +113,7 @@ counter whenever you visit it. 5. Create a file called `compose.yml` and paste this in: - ```none + ```yaml services: web: 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 single node. You can safely ignore this. - ```none + ```console $ docker compose up -d WARNING: The Docker Engine you're using is running in swarm mode.