add quick example

This commit is contained in:
Dominic Tarr 2011-09-15 11:47:23 +10:00
parent 3c52317851
commit 11fc69fe9f

View File

@ -33,6 +33,19 @@ Redistributable under a BSD-style open source license.
See license.txt for more information. See license.txt for more information.
Quick Example
-------------
``` js
var Showdown = require('showdown').Showdown
var converter = new Showdown().converter()
converter.makeHtml('#hello markdown!')
// <h1 id='<h1 id="hellomarkdown">hello, markdown</h1>
```
What's it for? What's it for?
-------------- --------------