|
@ -130,25 +130,25 @@ function mdInit() { |
|
|
mdSrc = window.markdownit('commonmark'); |
|
|
mdSrc = window.markdownit('commonmark'); |
|
|
} else { |
|
|
} else { |
|
|
mdHtml = window.markdownit(defaults) |
|
|
mdHtml = window.markdownit(defaults) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(require('markdown-it-sup')); |
|
|
.use(require('markdown-it-sup')); |
|
|
mdSrc = window.markdownit(defaults) |
|
|
mdSrc = window.markdownit(defaults) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(require('markdown-it-sup')); |
|
|
.use(require('markdown-it-sup')); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Beautify output of parser for html content
|
|
|
// Beautify output of parser for html content
|
|
|