1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 18:24:39 +02:00

Update yaml.html.markdown (#5017)

Two value description texts contain the wrong key name. This commit corrects both key names in the description texts.
This commit is contained in:
Thomas Müller
2024-08-07 18:30:31 +02:00
committed by GitHub
parent ad6e1f09bc
commit 6a7cfde3f7

View File

@@ -84,20 +84,20 @@ folded_style: >
# |- and >- removes the trailing blank lines (also called literal/block "strip") # |- and >- removes the trailing blank lines (also called literal/block "strip")
literal_strip: |- literal_strip: |-
This entire block of text will be the value of the 'literal_block' key, This entire block of text will be the value of the 'literal_strip' key,
with trailing blank line being stripped. with trailing blank line being stripped.
block_strip: >- block_strip: >-
This entire block of text will be the value of 'folded_style', but this This entire block of text will be the value of 'block_strip', but this
time, all newlines will be replaced with a single space and time, all newlines will be replaced with a single space and
trailing blank line being stripped. trailing blank line being stripped.
# |+ and >+ keeps trailing blank lines (also called literal/block "keep") # |+ and >+ keeps trailing blank lines (also called literal/block "keep")
literal_keep: |+ literal_keep: |+
This entire block of text will be the value of the 'literal_block' key, This entire block of text will be the value of the 'literal_keep' key,
with trailing blank line being kept. with trailing blank line being kept.
block_keep: >+ block_keep: >+
This entire block of text will be the value of 'folded_style', but this This entire block of text will be the value of 'block_keep', but this
time, all newlines will be replaced with a single space and time, all newlines will be replaced with a single space and
trailing blank line being kept. trailing blank line being kept.