mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Modify build-demo to work with updated dependencies and recent changes.
This commit is contained in:
parent
550ef6a53d
commit
1ada55fd60
2 changed files with 8 additions and 2 deletions
|
@ -5,3 +5,9 @@ module.exports = window.markdownit;
|
|||
if (!module.exports) {
|
||||
console.error("markdown-it must be loaded before markdownlint.");
|
||||
}
|
||||
|
||||
// Use browser's URL implementation if not available on url module
|
||||
var url = require("url");
|
||||
if (!url.URL) {
|
||||
url.URL = URL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue