Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add quick example

  • Loading branch information...
commit 11fc69fe9fa97b545b5794e1c0aef049810847d1 1 parent 3c52317
@dominictarr authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
13 README.md
@@ -33,6 +33,19 @@ Redistributable under a BSD-style open source license.
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?
--------------
Please sign in to comment.
Something went wrong with that request. Please try again.