mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
MD036 should not trigger for emphasized list items (fixes #26).
This commit is contained in:
parent
a2df7742c6
commit
ce9ec8fb5e
3 changed files with 46 additions and 0 deletions
|
|
@ -803,6 +803,12 @@ module.exports = [
|
|||
return inBlockquote;
|
||||
}
|
||||
};
|
||||
} else if (token.type === "list_item_open") {
|
||||
return function inListItem(t) {
|
||||
if (t.type !== "list_item_close") {
|
||||
return inListItem;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
var state = base;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue