doclistview fix
This commit is contained in:
parent
02398a3bef
commit
a60965ebac
1 changed files with 7 additions and 0 deletions
7
js/wn/misc/tools.js
Normal file
7
js/wn/misc/tools.js
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue