Merge pull request #2967 from XRPLF/try_it_component

Add & use custom Markdoc component for "Try it!" and "Query example transaction" buttons
This commit is contained in:
Rome Reginelli
2025-01-29 16:46:06 -08:00
committed by GitHub
117 changed files with 378 additions and 172 deletions

View File

@@ -28,7 +28,7 @@ An example of the request format:
{% /tabs %}
<!-- [Try it! >](websocket-api-tool.html#ledger) -->
{% try-it method="ledger" server="s1" /%}
The request can contain the following parameters:

View File

@@ -41,7 +41,7 @@ An example of the request format:
{% /tabs %}
[Try it! >](/resources/dev-tools/websocket-api-tool#ledger_index)
{% try-it method="ledger_index" /%}
The request can contain the following parameters:

View File

@@ -44,7 +44,7 @@ An example of the request format:
{% /tabs %}
[Try it! >](/resources/dev-tools/websocket-api-tool#nft_history)
{% try-it method="nft_history" /%}
The request contains the following parameters:

View File

@@ -41,7 +41,7 @@ An example of the request format:
{% /tabs %}
[Try it! >](/resources/dev-tools/websocket-api-tool#nft_info)
{% try-it method="nft_info" /%}
The request contains the following parameters:

View File

@@ -22,7 +22,7 @@ An example of the request format:
}
```
[Try it! >](/resources/dev-tools/websocket-api-tool#nfts_by_issuer)
{% try-it method="nfts_by_issuer" /%}
The request contains the following parameters:

View File

@@ -40,7 +40,7 @@ An example of the request format:
{% /tabs %}
<!-- [Try it! >](websocket-api-tool.html#server_info) -->
{% try-it method="server_info" server="s1" /%}
The request does not take any parameters.

View File

@@ -36,7 +36,7 @@ An example of the request format:
{% /tabs %}
<!-- [Try it! >](websocket-api-tool.html#version) -->
{% try-it method="version" /%}
The request does not take any parameters.