From 88af398735dc68a02f23ac58617d10f22f5a9baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Sun, 13 Nov 2016 17:47:06 +0100 Subject: [PATCH] README.md: Attempt to fix example indentation --- README.md | 58 +++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index b1181c4..7974c9c 100644 --- a/README.md +++ b/README.md @@ -301,14 +301,14 @@ Myapp.simple("system.yaml") ```elixir # List of documents. [ - # List of mappings. - [ - # Mapping with two entries. - [ - {'os', 'FreeBSD'}, - {'version', '9.0-RELEASE-p3'} - ] - ] + # List of mappings. + [ + # Mapping with two entries. + [ + {'os', 'FreeBSD'}, + {'version', '9.0-RELEASE-p3'} + ] + ] ] ``` @@ -321,28 +321,28 @@ Myapp.detailed("system.yaml") ```elixir # List of documents. [ - # Document with a list as its root node. - yamerl_doc: - {:yamerl_seq, :yamerl_node_seq, 'tag:yaml.org,2002:seq', [line: 2, column: 1], - [ - # Mapping #1. - {:yamerl_map, :yamerl_node_map, 'tag:yaml.org,2002:map', [line: 2, column: 3], - [ - # Mapping entry #1. - { - {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 2, column: 3], 'os'}, - {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 2, column: 7], 'FreeBSD'} - }, - # Mapping entry #2. - { - {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 3, column: 3], 'version'}, - {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 3, column: 12], '9.0-RELEASE-p3'} + # Document with a list as its root node. + yamerl_doc: + {:yamerl_seq, :yamerl_node_seq, 'tag:yaml.org,2002:seq', [line: 2, column: 1], + [ + # Mapping #1. + {:yamerl_map, :yamerl_node_map, 'tag:yaml.org,2002:map', [line: 2, column: 3], + [ + # Mapping entry #1. + { + {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 2, column: 3], 'os'}, + {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 2, column: 7], 'FreeBSD'} + }, + # Mapping entry #2. + { + {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 3, column: 3], 'version'}, + {:yamerl_str, :yamerl_node_str, 'tag:yaml.org,2002:str', [line: 3, column: 12], '9.0-RELEASE-p3'} + } + ] + } + ], + 1 } - ] - } - ], - 1 - } ] ```