Format Conversion
YAML 格式化
格式化和美化 YAML。注意:注释会丢失(js-yaml 限制)
text· 文本结果
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/yaml-formatter' \
-H 'Content-Type: application/json' \
-d '{"yamlInput":"Enter your YAML here. Note: comments will be lost after formatting.","indentSize":2,"mode":"beautify"}'