Skip to content

Fix ToC in presence of block formulas#20

Merged
zampino merged 2 commits intomainfrom
fix-19
Nov 28, 2023
Merged

Fix ToC in presence of block formulas#20
zampino merged 2 commits intomainfrom
fix-19

Conversation

@zampino
Copy link
Collaborator

@zampino zampino commented Nov 28, 2023

The formula plugin we're using didn't restore the parser level after pushing their tokens, this messed up our criterium for adding nodes into the table of contents.

The bug was fixed upstream in v1.0.0 with goessner/markdown-it-texmath#42.

Fixes #19.

@zampino zampino merged commit 7617e5d into main Nov 28, 2023
@zampino zampino deleted the fix-19 branch November 28, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Block Formulas mess up the Table of Contents

1 participant