docs/mux-support.md: Fix MD040 warnings
The following warnings are generated by using markdownlint analysis:
```
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
```
Refer to markdown-lint [1] to fix MD040
[1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I67875268370268715241c0ddb2c58da4a9a3f54f
diff --git a/docs/mux-support.md b/docs/mux-support.md
index 820c99e..0ddf898 100644
--- a/docs/mux-support.md
+++ b/docs/mux-support.md
@@ -39,7 +39,7 @@
For declaring the different consoles, the section name, e.g. `[host1]` must be
the same as the console-id. All of the section names need to be unique.
-```
+```sh
$ cat server.conf
mux-gpios = MUX_CTL
@@ -55,7 +55,7 @@
Now the server can be started. See the [Dbus Interface](#dbus-interface-example)
and [Example Diagram](#example-diagram)
-```
+```sh
$ obmc-console-server --config server.conf /dev/ttyS0
```
@@ -67,7 +67,7 @@
### Mux Control - Example
-```
+```sh
$ obmc-console-client -i host2 &
[1] 3422
$ obmc-console-client -i host1
@@ -94,11 +94,11 @@
So obmc-console-server will print one of these messages to all clients:
-```
+```sh
[obmc-console] %Y-%m-%d %H:%M:%S UTC CONNECTED
```
-```
+```sh
[obmc-console] %Y-%m-%d %H:%M:%S UTC DISCONNECTED
```
@@ -112,7 +112,7 @@
## Dbus Interface Example
-```
+```sh
$ busctl list
...
xyz.openbmc_project.Console.host1 926 obmc-console-server root ...
@@ -120,7 +120,7 @@
...
```
-```
+```sh
$ busctl tree xyz.openbmc_project.Console.host2
└─ /xyz
└─ /xyz/openbmc_project
@@ -136,7 +136,7 @@
└─ /xyz/openbmc_project/console/host2
```
-```
+```sh
$ busctl introspect xyz.openbmc_project.Console.host1 /xyz/openbmc_project/console/host1
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
@@ -155,7 +155,7 @@
## Example Diagram
-```
+```text
+--------------------+
| server.conf |
+--------------------+