Skip to content

Commit

Permalink
Improve YAML basics article
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Feb 5, 2024
1 parent c90a996 commit a9d4e65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/articles/yaml/basics.md
Expand Up @@ -96,7 +96,7 @@ Single quotes are useful for forcing a string when the first characters would ha
In **literal** style (`|`), newlines are preserved.

```yaml
|
description: |
\//||\/||
// || ||__
```
Expand All @@ -111,7 +111,7 @@ becomes:
In **folded** style (`>`), newlines are replaced with spaces - unless it ends an empty or a more-indented line.

```yaml
>
description: >
Mark McGwire's
year was crippled
by a knee injury.
Expand All @@ -122,7 +122,7 @@ becomes:
Mark McGwire's year was crippled by a knee injury.

```yaml
>
description: >
Sammy Sosa completed another
fine season with great stats.
Expand Down

0 comments on commit a9d4e65

Please sign in to comment.