mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2026-02-20 03:09:05 +01:00
fix: update markdown-it to v14.1.0
This allows to use the same version as markdownlint v0.34.0.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* @returns {void}
|
||||
*/
|
||||
const filterTokens = (params, type, handler) => {
|
||||
for (const token of params.tokens) {
|
||||
for (const token of params.parsers.markdownit.tokens) {
|
||||
if (token.type === type) {
|
||||
handler(token)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user