You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/pages/1.guides/5.yaml-101/index.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,10 @@ You can preserve any line breaks in your string block, which is useful when writ
73
73
74
74
```language-yaml
75
75
lyrics: |
76
-
Pierce I don't need you in my band
77
-
I don't need your heart or your hand
78
-
Oh I don't need you in my life
79
-
All you do is cause me such strife
76
+
Pierce I don't need you in my band
77
+
I don't need your heart or your hand
78
+
Oh I don't need you in my life
79
+
All you do is cause me such strife
80
80
```
81
81
82
82
### Collapsing newlines
@@ -85,14 +85,14 @@ Completely ignore those line breaks with a `>`, and indent the rest of the conte
85
85
86
86
```language-yaml
87
87
test: >
88
-
These
89
-
lines will
90
-
be collapsed
91
-
into a single
92
-
paragraph.
93
-
94
-
And blank lines are
95
-
paragraph breaks.
88
+
These
89
+
lines will
90
+
be collapsed
91
+
into a single
92
+
paragraph.
93
+
94
+
And blank lines are
95
+
paragraph breaks.
96
96
```
97
97
98
98
YAML doesn't stop at string values. Let's go deeper, and as we do it's important to note something important. In fact it's so important we noted its importance with notably incorrect grammar.
0 commit comments