Remove workaround for markdown-it-texmath issue fixed in @1.0.0.

This commit is contained in:
David Anson 2022-08-01 18:29:18 -07:00
parent 1154ab483b
commit 5544ea54d7
2 changed files with 0 additions and 10 deletions

View file

@ -1418,11 +1418,6 @@ function annotateAndFreezeTokens(tokens, lines) {
if (!token.map && trMap) {
token.map = [...trMap];
}
// Adjust maps for math blocks
if (helpers.isMathBlock(token) && token.map[1]) {
// markdown-it-texmath plugin does not account for math_block_end
token.map[1]++;
}
// Update token metadata
if (token.map) {
token.line = lines[token.map[0]];