Skip to content

Commit

Permalink
bp-reference: use a multiline string for the custom file example
Browse files Browse the repository at this point in the history
I expect most people to need a multiline string, so let's have one as the example.
  • Loading branch information
ondrejbudai authored Jan 30, 2025
1 parent 4167ec3 commit fd95da1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/user-guide/01-blueprint-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,10 @@ path = "/etc/foobar"
mode = "0644"
user = "root"
group = "root"
data = "Hello world!"
data = """
Hello world!
This is how you make a multiline string.
"""
```
</TabItem>
<TabItem value="hosted" >
Expand All @@ -893,7 +896,7 @@ data = "Hello world!"
"mode": "0644",
"user": "root",
"group": "root",
"data": "Hello world!"
"data": "Hello world!\nThis is how you make a multiline string.\n"
}
]
}
Expand Down

0 comments on commit fd95da1

Please sign in to comment.