aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 15f92d8c..84a165f2 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -2,7 +2,7 @@
* All parsing/transformation code goes here. All code here should be sync to ease testing.
*/
-var Showdown = require('../../lib/showdown').Showdown;
+var Showdown = require('showdown');
var DOM = require('./dom.js').DOM;
var htmlEscape = require('./dom.js').htmlEscape;
var Example = require('./example.js').Example;
@@ -174,7 +174,7 @@ Doc.prototype = {
});
});
text = parts.join('');
- text = new Showdown.converter().makeHtml(text);
+ text = new Showdown.converter({ extensions : ['table'] }).makeHtml(text);
text = text.replace(/(?:<p>)?(REPLACEME\d+)(?:<\/p>)?/g, function(_, id) {
return placeholderMap[id];
});