User Tools

Site Tools


software:yaml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:yaml [2025/05/27 15:25] ronsoftware:yaml [2025/05/31 15:02] (current) ron
Line 4: Line 4:
 copied from [Stack Overflow](https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines) copied from [Stack Overflow](https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines)
  
-* `>`  interior line breaks are stripped out, although you get one at the end. +* `>`  → interior line breaks are stripped out, although you get one at the end. 
-* `|`  line breaks are preserved as \n +* `|`  → line breaks are preserved as \n 
-* `>-` like `>` but without trailing line break  +* `>-` → like `>` but without trailing line break  
-* `|-` like `|` but without trailing line break+* `|-` → like `|` but without trailing line break
  
 In this table:  In this table: 
-\b means space character, \n means "newline character" except were noted.  +\b means space character, \n means "newline character" except where noted.  
-"Leading space" refers to an additional space character on the second line, when the first is only spaces (which establishes the indent).+"Leading space" refers to an additional space character on the second line, when the first characters are only spaces (which establishes the indent).
  
 ^                                 ^ `> ^ `|`  ^ `>-` ^ `|-` ^ `>+` ^ `|+` ^    ^ `"`^ `'`^ ^                                 ^ `> ^ `|`  ^ `>-` ^ `|-` ^ `>+` ^ `|+` ^    ^ `"`^ `'`^
software/yaml.1748359526.txt.gz · Last modified: 2025/05/27 15:25 by ron

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki