From 11fc69fe9fa97b545b5794e1c0aef049810847d1 Mon Sep 17 00:00:00 2001 From: Dominic Tarr Date: Thu, 15 Sep 2011 11:47:23 +1000 Subject: [PATCH] add quick example --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 38df052..f15c0b5 100644 --- a/README.md +++ b/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!') + +//