Skip to content

Commit 2ed2d5c

Browse files
committed
show XML in Readme
1 parent fb4fe22 commit 2ed2d5c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
[![Build Status](https://secure.travis-ci.org/soldair/node-jsontoxml.png)](http://travis-ci.org/soldair/node-jsontoxml)
32

43
# jsontoxml
@@ -37,8 +36,8 @@ console.log(xml);
3736

3837
```
3938

40-
outputs: // ! output is not tabbed this is an example
41-
39+
outputs:
40+
```xml
4241
<node>text content</node>
4342
<parent>
4443
<taco>
@@ -58,7 +57,7 @@ outputs: // ! output is not tabbed this is an example
5857
<node>i am another not special child node</node>
5958
<date>Sun Sep 26 2010 17:27:29 GMT-0700 (PDT)</date>
6059
</parent2>
61-
60+
```
6261
## API
6362

6463
jsontoxml (obj,options)

0 commit comments

Comments
 (0)