Permalink
Browse files

Use Erlang shell session syntax highlighting in README

  • Loading branch information...
1 parent d06bda5 commit 35700114afd470e8ca18a0304014ef127ca3d965 @devinus committed Apr 11, 2012
Showing with 25 additions and 24 deletions.
  1. +25 −24 README.md
View
@@ -3,27 +3,28 @@ Zucchini - An Erlang INI parser
## Example
- $ erl -pa ebin
- 1> zucchini:parse_string("
- 1> [pumpkin]
- 1> variety = winter
- 1> name = Pumpkin ; mmm, pumpkin pie
- 1> fortune = \"Pumpkin carving = Awesome\"
- 1> weight = 3.3
- 1> amount = 2
- 1>
- 1> [yellow] ; It's just called Yellow!
- 1> variety = summer
- 1> name = Yellow Squash
- 1> weight = 0.3
- 1> amount = 3
- 1> ").
- {ok,[{pumpkin,[{variety,winter},
- {name,"Pumpkin"},
- {fortune,"Pumpkin carving = Awesome"},
- {weight,3.3},
- {amount,2}]},
- {yellow,[{variety,summer},
- {name,"Yellow Squash"},
- {weight,0.3},
- {amount,3}]}]}
+```erl-sh
+1> zucchini:parse_string("
+1> [pumpkin]
+1> variety = winter
+1> name = Pumpkin ; mmm, pumpkin pie
+1> fortune = \"Pumpkin carving = Awesome\"
+1> weight = 3.3
+1> amount = 2
+1>
+1> [yellow] ; It's just called Yellow!
+1> variety = summer
+1> name = Yellow Squash
+1> weight = 0.3
+1> amount = 3
+1> ").
+{ok,[{pumpkin,[{variety,winter},
+ {name,"Pumpkin"},
+ {fortune,"Pumpkin carving = Awesome"},
+ {weight,3.3},
+ {amount,2}]},
+ {yellow,[{variety,summer},
+ {name,"Yellow Squash"},
+ {weight,0.3},
+ {amount,3}]}]}
+```

0 comments on commit 3570011

Please sign in to comment.