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

Fails to publish with footnotes #105

Open
asr1 opened this issue Mar 8, 2023 · 0 comments
Open

Fails to publish with footnotes #105

asr1 opened this issue Mar 8, 2023 · 0 comments

Comments

@asr1
Copy link

asr1 commented Mar 8, 2023

I see that footnotes are listed as a supported feature, but when I try to publish a file containing a footnote (using [^1] syntax), Vercel gives an undefined error on the footnote anchor:

10:37:33.286 | [11ty] Original error stack trace: TypeError: Cannot read properties of undefined (reading 'docId')
10:37:33.286 | [11ty]     at Object.render_footnote_anchor_name [as footnote_anchor_name] (/vercel/path0/node_modules/markdown-it-footnote/index.js:12:18)

Removing the footnote resolves the issue.

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