ref: 16334df917724754c33c76afd31f0d89b6f7a185
converter/server/vendor/mustangostang/spyc/tests/indent_1.yaml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
root: child_1: 2 child_2: 0 child_3: 1 root2: child_1: 1 # A comment child_2: 2 displays: - resolutions: 1024: 768 - resolutions: 1920: 1200 display: - resolutions: 1024: 768 1920: 1200 producer: "Nec" nested_hashes_and_seqs: - { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} } easier_nest: { h: [{a: b, a1: b1}, {c: d}] } one_space: | By four spaces steps: - step: &id001 instrument: Lasik 2000 pulseEnergy: 5.4 pulseDuration: 12 repetition: 1000 spotSize: 1mm - step: <<: *id001 spotSize: 2mm death masks are: sad: 2 <<: {magnificent: 4} login: &login adapter: mysql host: localhost development: database: rails_dev <<: *login "key": "value:" colon_only: ":" list_and_comment: [one, two, three] # comment kai: -example: value kai_list_of_items: - -item - '-item' -item &foo bar: 1: "abc" zzz: *foo |