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 @@
*WebSocket*
```
```json
{
"id":"fee_websocket_example",
"command":"fee"
@@ -21,7 +21,7 @@
*JSON-RPC*
```
```json
{
"method":"fee",
"params":[{}]
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: fee
rippled fee
```
@@ -47,7 +47,7 @@ rippled fee
*WebSocket*
```
```json
{
"id":"fee_websocket_example",
"status":"success",
@@ -76,8 +76,9 @@ rippled fee
*JSON-RPC*
```
```json
200 OK
{
"result":{
"current_ledger_size":"56",
@@ -104,9 +105,10 @@ rippled fee
*コマンドライン*
```
```json
Loading:"/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" :{
"current_ledger_size" :"16",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "fee_websocket_example",
"command": "fee"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "fee",
"params": [{}]
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: fee
rippled fee
```
@@ -47,7 +47,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "fee_websocket_example",
"status": "success",
@@ -76,8 +76,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"current_ledger_size": "56",
@@ -104,9 +105,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"current_ledger_size" : "16",

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 1,
"command": "server_info"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method": "server_info",
"params": [
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: server_info
rippled server_info
```
@@ -49,7 +49,7 @@ rippled server_info
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -156,8 +156,9 @@ rippled server_info
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"info" : {

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "server_info"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "server_info",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: server_info
rippled server_info
```

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "server_state"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method": "server_state",
"params": [
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: server_state
rippled server_state
```
@@ -49,7 +49,7 @@ rippled server_state
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -147,8 +147,9 @@ rippled server_state
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"state" : {

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "server_state"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "server_state",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: server_state
rippled server_state
```