YAML Multiline

오픈소스·2023년 4월 2일
0
post-thumbnail

https://yaml-multiline.info/

  • command: >
YAML
example: >\n
··Several lines of text,\n
··with some "quotes" of various 'types',\n
··and also a blank line:\n
··\n
··and some text with\n
····extra indentation\n
··on the next line,\n
··plus another line at the end.\n
··\n
··\n

Result
Several lines of text, with some "quotes" of various 'types', and also a blank line:\n
and some text with\n
  extra indentation\n
on the next line, plus another line at the end.\n
  • command: >-
  • command: >+
YAML
example: >+\n
··Several lines of text,\n
··with some "quotes" of various 'types',\n
··and also a blank line:\n
··\n
··and some text with\n
····extra indentation\n
··on the next line,\n
··plus another line at the end.\n
··\n
··\n

Result
Several lines of text, with some "quotes" of various 'types', and also a blank line:\n
and some text with\n
  extra indentation\n
on the next line, plus another line at the end.\n
\n
\n
  • command: |
YAML
example: |\n
··Several lines of text,\n
··with some "quotes" of various 'types',\n
··and also a blank line:\n
··\n
··and some text with\n
····extra indentation\n
··on the next line,\n
··plus another line at the end.\n
··\n
··\n

Result
Several lines of text,\n
with some "quotes" of various 'types',\n
and also a blank line:\n
\n
and some text with\n
  extra indentation\n
on the next line,\n
plus another line at the end.\n
  • command: |-
YAML
example: |-\n
··Several lines of text,\n
··with some "quotes" of various 'types',\n
··and also a blank line:\n
··\n
··and some text with\n
····extra indentation\n
··on the next line,\n
··plus another line at the end.\n
··\n
··\n

Result
Several lines of text,\n
with some "quotes" of various 'types',\n
and also a blank line:\n
\n
and some text with\n
  extra indentation\n
on the next line,\n
plus another line at the end.
  • command: |+

0개의 댓글