mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-18 15:00:13 +01:00
Update markdownlint demo code with latest changes.
This commit is contained in:
parent
e9d63a6284
commit
e1134f0db9
2 changed files with 746 additions and 1518 deletions
|
|
@ -5,3 +5,11 @@ module.exports = window.markdownit;
|
|||
if (!module.exports) {
|
||||
console.error("markdown-it must be loaded before markdownlint.");
|
||||
}
|
||||
|
||||
// Stub missing implementation of util.promisify (unused here)
|
||||
var util = require("util");
|
||||
if (!util.promisify) {
|
||||
util.promisify = function promisify(fn) {
|
||||
return fn;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue