Fix linty failures
This commit is contained in:
parent
e7f292794c
commit
93ecc9839b
8 changed files with 29 additions and 33 deletions
|
@ -109,7 +109,7 @@ function parseElement(n, partCreator, lastNode, state) {
|
|||
const indent = " ".repeat(state.listDepth - 1);
|
||||
if (n.parentElement.nodeName === "OL") {
|
||||
// The markdown parser doesn't do nested indexed lists at all, but this supports it anyway.
|
||||
let index = state.listIndex[state.listIndex.length - 1];
|
||||
const index = state.listIndex[state.listIndex.length - 1];
|
||||
state.listIndex[state.listIndex.length - 1] += 1;
|
||||
return partCreator.plain(`${indent}${index}. `);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue