fix: doc API tab style mistake
@@ -41,28 +41,34 @@ In addition to being configurable when you start them up, brokers can also be [d
Fetch all available active brokers that are serving traffic for local cluster .
-<!--DOCUSAURUS_CODE_TABS-->
-<!--pulsar-admin-->
+````mdx-code-block
+<Tabs groupId="api-choice"
+ defaultValue="pulsar-admin"
+ values={[{"label":"pulsar-admin","value":"pulsar-admin"},{"label":"REST API","value":"REST API"},{"label":"Java","value":"Java"}]}>
+<TabItem value="pulsar-admin">
```shell
$ pulsar-admin brokers list
-```
-
-```
broker1.use.org.com:8080
```
-<!--REST API-->
+</TabItem>
+<TabItem value="REST API">
{@inject: endpoint|GET|/admin/v2/brokers|operation/getActiveBrokers?version=[[pulsar:version_number]]}
-<!--JAVA-->
+
+</TabItem>
+<TabItem value="Java">
```java
admin.brokers().getActiveBrokers()
```
-<!--END_DOCUSAURUS_CODE_TABS-->
+</TabItem>
+
+</Tabs>
+````
Fetch all available active brokers that are serving traffic with cluster name.
@@ -75,11 +81,6 @@ Fetch all available active brokers that are serving traffic with cluster name.
```shell
$ pulsar-admin brokers list use
-
-```
-
-```
-
broker1.use.org.com:8080
```
@@ -116,11 +117,6 @@ Fetch the information of the leader broker, for example, the service url.
```shell
$ pulsar-admin brokers leader-broker
-
-```
-
-```
-
BrokerInfo(serviceUrl=broker1.use.org.com:8080)
```
@@ -161,10 +157,6 @@ It finds all namespaces which are owned and served by a given broker.
$ pulsar-admin brokers namespaces use \
--url broker1.use.org.com:8080
-```
-
-```json
-
{
"my-property/use/my-ns/0x00000000_0xffffffff": {
"broker_assignment": "shared",
