The getting started guide you are reading is generated from AsciiDoc :
https://github.com/ spring -projects / spring-boot / blob / master / README.adoc
AsciiDoc is a document format equivalent to DocBook XML. Instead of copying parts of the source code, AsciiDoc syntax allows you to point to some parts of the source code.
To include the pom.xml part, you can use the following syntax:
include::complete/pom.xml[tag=joda]
which will include a snippet:
<dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.9.2</version> </dependency>
To answer your question, <!-- tag::joda[] --> is a marker that allows AsciiDoc to extract part of a file and insert it into the getting started guide.
source share