mirror of
https://github.com/valitydev/yamerl.git
synced 2024-11-06 02:45:23 +00:00
README.md: Unify simple/detailed examples presentation
This commit is contained in:
parent
88af398735
commit
57c050ec7a
@ -170,10 +170,12 @@ If we use the following YAML document:
|
||||
version: 9.0-RELEASE-p3
|
||||
```
|
||||
|
||||
Simple documents:
|
||||
* Simple documents:
|
||||
|
||||
```erlang
|
||||
yamerl_constr:file("system.yaml").
|
||||
```
|
||||
|
||||
```erlang
|
||||
% List of documents.
|
||||
[
|
||||
@ -188,10 +190,12 @@ yamerl_constr:file("system.yaml").
|
||||
]
|
||||
```
|
||||
|
||||
Full documents:
|
||||
* Full documents:
|
||||
|
||||
```erlang
|
||||
yamerl_constr:file("system.yaml", [{detailed_constr, true}]).
|
||||
```
|
||||
|
||||
```erlang
|
||||
% List of documents.
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user