markdownlint/demo/markdown-it-stub.js

7 lines
205 B
JavaScript

"use strict";
// Alias "markdown-it" (expected) to "markdownit" (exported)
module.exports = window.markdownit;
if (!module.exports) {
console.error("markdown-it must be loaded before markdownlint.");
}