Fine-tune, add placeholders
This commit is contained in:
parent
f0dffe6ed9
commit
38cfaaf333
@ -194,7 +194,7 @@ Cables accept multiline strings in the `type` and `notes` attributes.
|
|||||||
|
|
||||||
### Method 1
|
### Method 1
|
||||||
|
|
||||||
By using `|`, every following indented line is treated as a new line
|
By using `|`, every following indented line is treated as a new line.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
attribute: |
|
attribute: |
|
||||||
@ -205,10 +205,15 @@ attribute: |
|
|||||||
## Method 2
|
## Method 2
|
||||||
|
|
||||||
By using double quoted strings, `\n` within the string is converted to a new line.
|
By using double quoted strings, `\n` within the string is converted to a new line.
|
||||||
Plain (no quotes) or single quoted strings do not convert `\n`.
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
attribute: "This is line 1.\nThis is line 2."
|
attribute: "This is line 1.\nThis is line 2."
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Plain (no quotes) or single quoted strings do not convert `\n`.
|
||||||
|
|
||||||
See [yaml-multiline.info](https://yaml-multiline.info/) for more information.
|
See [yaml-multiline.info](https://yaml-multiline.info/) for more information.
|
||||||
|
|
||||||
|
## Inheritance
|
||||||
|
|
||||||
|
Add link to YAML spec.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user