Mercurial > irccd
diff doc/html/dev/socket-protocol.md @ 512:b8da1d8c2a72
Docs: use ``` as fenced code blocks
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 20 Oct 2017 11:43:36 +0200 |
parents | a60142be369a |
children |
line wrap: on
line diff
--- a/doc/html/dev/socket-protocol.md Thu Oct 19 13:03:31 2017 +0200 +++ b/doc/html/dev/socket-protocol.md Fri Oct 20 11:43:36 2017 +0200 @@ -19,7 +19,7 @@ <div class="alert alert-success" role="alert"> **Example**: two commands issued -````json +```json { "param1": "value1" } @@ -28,7 +28,7 @@ "param1": "value1" } -```` +``` </div> <div class="alert alert-warning" role="alert"> @@ -47,22 +47,22 @@ <div class="alert alert-success" role="alert"> **Example**: command issued with no errors -````json +```json { "command": "server-message", "status": "ok" } -```` +``` </div> <div class="alert alert-danger" role="alert"> **Example**: command issued with errors -````json +```json { "command": "server-message", "status": "error", "error": "server xyz not found" } -```` +``` </div>