|
@ -1,4 +1,3 @@ |
|
|
(function () { |
|
|
|
|
|
'use strict'; |
|
|
'use strict'; |
|
|
|
|
|
|
|
|
/*eslint-env browser*/ |
|
|
/*eslint-env browser*/ |
|
@ -59,25 +58,25 @@ |
|
|
mdSrc = window.markdownit('commonmark'); |
|
|
mdSrc = window.markdownit('commonmark'); |
|
|
} else { |
|
|
} else { |
|
|
mdHtml = window.markdownit(defaults) |
|
|
mdHtml = window.markdownit(defaults) |
|
|
.use(window.markdownitAbbr) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(window.markdownitContainer, 'warning') |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(window.markdownitDeflist) |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(window.markdownitEmoji) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(window.markdownitFootnote) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(window.markdownitIns) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(window.markdownitMark) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(window.markdownitSub) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(window.markdownitSup); |
|
|
.use(require('markdown-it-sup')); |
|
|
mdSrc = window.markdownit(defaults) |
|
|
mdSrc = window.markdownit(defaults) |
|
|
.use(window.markdownitAbbr) |
|
|
.use(require('markdown-it-abbr')) |
|
|
.use(window.markdownitContainer, 'warning') |
|
|
.use(require('markdown-it-container'), 'warning') |
|
|
.use(window.markdownitDeflist) |
|
|
.use(require('markdown-it-deflist')) |
|
|
.use(window.markdownitEmoji) |
|
|
.use(require('markdown-it-emoji')) |
|
|
.use(window.markdownitFootnote) |
|
|
.use(require('markdown-it-footnote')) |
|
|
.use(window.markdownitIns) |
|
|
.use(require('markdown-it-ins')) |
|
|
.use(window.markdownitMark) |
|
|
.use(require('markdown-it-mark')) |
|
|
.use(window.markdownitSub) |
|
|
.use(require('markdown-it-sub')) |
|
|
.use(window.markdownitSup); |
|
|
.use(require('markdown-it-sup')); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Beautify output of parser for html content
|
|
|
// Beautify output of parser for html content
|
|
@ -404,4 +403,3 @@ |
|
|
|
|
|
|
|
|
updateResult(); |
|
|
updateResult(); |
|
|
}); |
|
|
}); |
|
|
})(); |
|
|
|
|
|