content
content copied to clipboard
Improper ordering of footnotes
Version
@nuxt/content: 1.8.1 nuxt: 2.14.5
Reproduction Link
https://codesandbox.io/s/cool-saha-fhehg?file=/content/index.md:0-463
Steps to reproduce
Just add a footnote with a number later in the sequence than existing footnotes, appearing before the existing footnotes.
What is Expected?
Whichever system is followed, the result should be consistent.
What is actually happening?
The sequence in the footnotes at the bottom is in order of appearance of the footnote, while the actual sequence number is seen in the actual content area.
It may be related to https://github.com/remarkjs/remark/pull/536
Footnotes are ordered by their appearance in the document https://github.com/remarkjs/remark-rehype/issues/11#issuecomment-486114767