티스토리 뷰

공부

[yaml] multiple lines (except `\n`)

승가비 2022. 5. 7. 18:22
728x90
path: "\
    /a/b/c/\
    ?z={z}\
    &x={x}\
    &c={c}"

https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines

 

How do I break a string in YAML over multiple lines?

In YAML, I have a string that's very long. I want to keep this within the 80-column (or so) view of my editor, so I'd like to break the string. What's the syntax for this? In other words, I have t...

stackoverflow.com

 

728x90
댓글
댓글쓰기 폼