digitalgarden icon indicating copy to clipboard operation
digitalgarden copied to clipboard

Fails to publish with footnotes

Open asr1 opened this issue 1 year ago • 0 comments

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.

asr1 avatar Mar 08 '23 18:03 asr1