doc/mode-button: create code block with indention

This commit is contained in:
Christian Hesse 2025-11-18 16:52:21 +01:00
parent 76aa8e73b2
commit c5c9f869d2

View file

@ -26,7 +26,6 @@ can configure the reset button to act the same, see
Copy this code to terminal to check: Copy this code to terminal to check:
```
:if ([ :len [ /system/routerboard/mode-button/print as-value ] ] > 0) do={ :if ([ :len [ /system/routerboard/mode-button/print as-value ] ] > 0) do={
:put "Mode button is supported."; :put "Mode button is supported.";
} else={ } else={
@ -36,7 +35,6 @@ Copy this code to terminal to check:
:put "Neither mode button nor reset button is supported."; :put "Neither mode button nor reset button is supported.";
} }
} }
```
Requirements and installation Requirements and installation
----------------------------- -----------------------------