Skip to content

Commit c0b0511

Browse files
committed
docs/Home-Assistant: fix highlighting preventing copy-paste
1 parent 732889a commit c0b0511

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Containers/Home-Assistant.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ your RPi hostname is raspberrypi)
163163
7. Forward to correct IP when target is a container running in "network_mode:
164164
host" (like Home Assistant does):
165165

166-
```console
166+
<!-- Note to documentation writers: using the console-highlighter would
167+
make the '#!/bin/sh'-line an unselectable "prompt". -->
168+
``` bash title="Note: in order for copy-paste to work properly, the usual $-prompts are omitted"
167169
cd ~/IOTstack
168170
cat << 'EOF' | sudo tee volumes/swag/config/custom-cont-init.d/add-host.docker.internal.sh
169171
#!/bin/sh

0 commit comments

Comments
 (0)