Roo/Markdown.js
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 06:43:58 +0000 (14:43 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 06:43:58 +0000 (14:43 +0800)
Roo/Markdown.js

index 8db398e..a8e6766 100644 (file)
@@ -6,16 +6,17 @@
  */
 
 
-//
-// marked usage:
-// 
-//   alert( Roo.Markdown.toHtml("Markdown *rocks*.") );
-// 
-// Note: move the sample code to the bottom of this
-// file before uncommenting it.
-//
-
+/**
+ *
+ * Roo.Markdown - is a very crude wrapper around marked..
+ *
+ * usage:
 
+ * alert( Roo.Markdown.toHtml("Markdown *rocks*.") );
+ * Note: move the sample code to the bottom of this
+ * file before uncommenting it.
+ *
+ */
 //
 // Showdown namespace
 //
@@ -23,7 +24,7 @@ Roo.Markdown = {};
 Roo.Markdown.toHtml = function(text) {
     
     var c = new Roo.ux.Markdown.marked.setOptions({
-            renderer: new Roo.ux.Showdown.marked.Renderer(),
+            renderer: new Roo.Markdown.marked.Renderer(),
             gfm: true,
             tables: true,
             breaks: false,