diff --git a/docs/modules/consul.md b/docs/modules/consul.md
index d0eafd6b1a8..c400e8b4bcb 100644
--- a/docs/modules/consul.md
+++ b/docs/modules/consul.md
@@ -19,18 +19,20 @@ test how your application behaves with Consul by writing different test scenario
Add the following dependency to your `pom.xml`/`build.gradle` file:
-```groovy tab='Gradle'
-testImplementation "org.testcontainers:consul:{{latest_version}}"
-```
-
-```xml tab='Maven'
-
- org.testcontainers
- consul
- {{latest_version}}
- test
-
-```
+=== "Gradle"
+ ```groovy
+ testImplementation "org.testcontainers:consul:{{latest_version}}"
+ ```
+
+=== "Maven"
+ ```xml
+
+ org.testcontainers
+ consul
+ {{latest_version}}
+ test
+
+ ```
See [AUTHORS](https://raw.githubusercontent.com/testcontainers/testcontainers-java/main/modules/consul/AUTHORS) for contributors.