doclistview fix

This commit is contained in:
Rushabh Mehta 2012-03-21 12:45:09 +05:30
parent 02398a3bef
commit a60965ebac

7
js/wn/misc/tools.js Normal file
View file

@ -0,0 +1,7 @@
wn.markdown = function(txt) {
if(!wn.md2html) {
wn.require('lib/js/lib/showdown.js');
wn.md2html = new Showdown.converter();
}
return wn.md2html.makeHtml(txt);
}