Update all references to "params.tokens" to "params.parsers.markdownit.tokens" for clarity.

This commit is contained in:
David Anson 2023-02-18 21:41:07 -08:00
parent 5302ee45de
commit 4b27bac79b
15 changed files with 45 additions and 37 deletions

View file

@ -11,7 +11,7 @@ module.exports = {
"function": function MD028(params, onError) {
let prevToken = {};
let prevLineNumber = null;
for (const token of params.tokens) {
for (const token of params.parsers.markdownit.tokens) {
if ((token.type === "blockquote_open") &&
(prevToken.type === "blockquote_close")) {
for (