diff --git a/src/main/asciidoc/reference/mongodb.adoc b/src/main/asciidoc/reference/mongodb.adoc index 410033536..d53a99ba9 100644 --- a/src/main/asciidoc/reference/mongodb.adoc +++ b/src/main/asciidoc/reference/mongodb.adoc @@ -30,7 +30,7 @@ To create a Spring project in STS: . Go to File -> New -> Spring Template Project -> Simple Spring Utility Project, and press Yes when prompted. Then enter a project and a package name, such as `org.spring.mongodb.example`. .Add the following to the pom.xml files `dependencies` element: + -[source,xml] +[source,xml,subs="+attributes"] ---- @@ -46,7 +46,7 @@ To create a Spring project in STS: ---- . Change the version of Spring in the pom.xml to be + -[source,xml] +[source,xml,subs="+attributes"] ---- {springVersion} ----