mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Update MD045/no-alt-text to report instances of HTML "img" tags missing an "alt" attribute (fixes #992).
This commit is contained in:
parent
0afedaebf4
commit
531e58ed9a
18 changed files with 274 additions and 25 deletions
|
@ -4,8 +4,10 @@
|
|||
|
||||
const micromark = require("./micromark.cjs");
|
||||
|
||||
const { newLineRe } = require("./shared.js");
|
||||
const { newLineRe, nextLinesRe } = require("./shared.js");
|
||||
|
||||
module.exports.newLineRe = newLineRe;
|
||||
module.exports.nextLinesRe = nextLinesRe;
|
||||
|
||||
// Regular expression for matching common front matter (YAML and TOML)
|
||||
module.exports.frontMatterRe =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue