mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Remove workaround for markdown-it-texmath issue fixed in @1.0.0.
This commit is contained in:
parent
1154ab483b
commit
5544ea54d7
2 changed files with 0 additions and 10 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue