Mark code sample languages explicitly

This commit is contained in:
mDuo13
2020-09-10 02:18:40 -07:00
parent eb6142f270
commit d46202a04f
92 changed files with 531 additions and 450 deletions

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 90,
"command": "get_counts",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "get_counts",
"params": [
@@ -35,7 +35,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: get_counts [min_count]
rippled get_counts 100
```
@@ -56,7 +56,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"AL_hit_rate" : 48.36725616455078,
@@ -93,9 +93,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"AL_hit_rate" : 48.36725616455078,