📜  yaml 多行字符串 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:00.638000             🧑  作者: Mango

代码示例1
Key: >
  This is a very long sentence
  that spans several lines in the YAML
  but which will be rendered as a string
  with only a single carriage return appended to the end.
  
# You can use the "block chomping indicator" to eliminate the trailing line break, as follows:

Key: >-
  This is a very long sentence
  that spans several lines in the YAML
  but which will be rendered as a string
  with NO carriage returns.