benrbray / remark-cite

Adds support for pandoc-style citations to the Markdown syntax for the remark and micromark parsers.
MIT License
20 stars 5 forks source link

update to mdast-util-from-markdown 2.0 #7

Closed ugogon closed 1 month ago

ugogon commented 11 months ago

remark-cite does not work with newest micromark parser as mdast-util-from-markdown 2.0 introduced breaking changes.

I updated it to the new API. Note: I did not tested the citeHtml function but it should work as before.

Fixes #8.

hgodinho commented 9 months ago

any update on this?

ugogon commented 9 months ago

This project seems dead, I use rehype-citation instead: https://rehype-citation.netlify.app/. It is not as flexibel but does the job for me.

benrbray commented 1 month ago

This will be resolved in the v2.0 release. You can find a prerelease version on npm (v2.0.1-alpha.4), and I've been working to prepare the official v2.0 release.