Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header Links and Table of Contents don't build with mistune 2.x #364

Open
dairiki opened this issue Mar 3, 2023 · 0 comments
Open

Header Links and Table of Contents don't build with mistune 2.x #364

dairiki opened this issue Mar 3, 2023 · 0 comments
Milestone

Comments

@dairiki
Copy link
Contributor

dairiki commented Mar 3, 2023

The pre-release branch of Lektor (3.4.x) installs mistune 2.x by default. (The stable 3.3 branch pins mistune to 0.8.*.)

Here, we use the lektor-markdown-header-anchors plugin to generate table of contents on documentation pages. That appears to be broken under mistune 2. Pinning mistune<2 (which current results in using mistune==0.8.4 works around the issue.

I've tested with lektor-markdown-header-anchors versions 0.1 (which is currently what our .lektorproject specifies) and 0.3.1 (the latest release).

Reported at lektor/lektor-markdown-header-anchors#14, but also reporting here as a reminder that things here are currently broken under Lektor 3.4.

@dairiki dairiki added this to the lektor-3.4 milestone Mar 3, 2023
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

No branches or pull requests

1 participant