How do you do block comments in YAML?

前端 未结 11 1570
误落风尘
误落风尘 2020-12-04 04:26

How do I comment a block of lines in YAML?

11条回答
  •  一整个雨季
    2020-12-04 05:10

    Not trying to be smart about it, but if you use Sublime Text for your editor, the steps are:

    1. Select the block
    2. cmd+/ on Mac or ctrl+/ on Linux & Windows
    3. Profit

    I'd imagine that other editors have similar functionality too. Which one are you using? I'd be happy to do some digging.

提交回复
热议问题