mirror of
https://github.com/valitydev/yamerl.git
synced 2024-11-06 02:45:23 +00:00
README.md: Use Elixir syntax hilighting in examples
This commit is contained in:
parent
eab734da37
commit
f9321f7844
@ -292,13 +292,13 @@ above:
|
||||
version: 9.0-RELEASE-p3
|
||||
```
|
||||
|
||||
Parsing in simple mode:
|
||||
* Parsing in simple mode:
|
||||
|
||||
```elixir
|
||||
Myapp.simple("system.yaml")
|
||||
```
|
||||
|
||||
```
|
||||
```elixir
|
||||
# List of documents.
|
||||
[
|
||||
# List of mappings.
|
||||
@ -312,13 +312,13 @@ Myapp.simple("system.yaml")
|
||||
]
|
||||
```
|
||||
|
||||
Parsing in detailed mode:
|
||||
* Parsing in detailed mode:
|
||||
|
||||
```elixir
|
||||
Myapp.detailed("system.yaml")
|
||||
```
|
||||
|
||||
```
|
||||
```elixir
|
||||
# List of documents.
|
||||
[
|
||||
# Document with a list as its root node.
|
||||
|
Loading…
Reference in New Issue
Block a user