mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add regular expressions from vscode-markdownlint for error range in results.
This commit is contained in:
parent
09ae51fdaa
commit
dcf0462c22
12 changed files with 228 additions and 61 deletions
|
|
@ -67,6 +67,12 @@
|
|||
sanitize(result.errorContext) +
|
||||
"\"</span>]" :
|
||||
"");
|
||||
/* + (result.errorRange ?
|
||||
" <u style='white-space: pre-wrap'>" +
|
||||
lines[result.lineNumber - 1].substr(
|
||||
result.errorRange[0] - 1, result.errorRange[1]) +
|
||||
"</u>" :
|
||||
""); */
|
||||
}).join("<br/>");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue