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

@ -1199,12 +1199,16 @@ test("htmlElementRanges", (t) => {
"Text `<br/>` text",
"text <br/> text"
],
"tokens": [
{
"type": "code_block",
"map": [ 10, 12 ]
"parsers": {
"markdownit": {
"tokens": [
{
"type": "code_block",
"map": [ 10, 12 ]
}
]
}
]
}
};
const expected = [
[ 3, 5, 12 ],