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

Improper ordering of footnotes #474

Open
sausin opened this issue Sep 13, 2020 · 2 comments
Open

Improper ordering of footnotes #474

sausin opened this issue Sep 13, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@sausin
Copy link
Contributor

sausin commented Sep 13, 2020

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.

@sausin sausin added the bug Something isn't working label Sep 13, 2020
Copy link
Member

Atinux commented Dec 16, 2020

It may be related to remarkjs/remark#536

@ChristianMurphy
Copy link

Footnotes are ordered by their appearance in the document remarkjs/remark-rehype#11 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants