Skip to content

Commit

Permalink
Fix yaml sample format in reference doc
Browse files Browse the repository at this point in the history
  • Loading branch information
weixsun authored and snicoll committed Nov 16, 2021
1 parent 7f4c8aa commit 793a107
Showing 1 changed file with 9 additions and 3 deletions.
Expand Up @@ -470,10 +470,16 @@ For example, the following file has two logical documents:

[source,yaml,indent=0,subs="verbatim"]
----
spring.application.name: MyApp
spring:
application:
name: "MyApp"
---
spring.config.activate.on-cloud-platform: kubernetes
spring.application.name: MyCloudApp
spring:
application:
name: "MyCloudApp"
config:
activate:
on-cloud-platform: kubernetes
----

For `application.properties` files a special `#---` comment is used to mark the document splits:
Expand Down

0 comments on commit 793a107

Please sign in to comment.