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

footnotes and citations don't play nicely #79

Open
trigaten opened this issue Dec 9, 2022 · 7 comments
Open

footnotes and citations don't play nicely #79

trigaten opened this issue Dec 9, 2022 · 7 comments
Labels
mid-priority web-dev website features

Comments

@trigaten
Copy link
Owner

trigaten commented Dec 9, 2022

Footnotes overwrite citations at the bottom of the page. It would be great to modify the citation plugin to deal with this properly.

@trigaten trigaten added the web-dev website features label Dec 22, 2022
@antsanchez
Copy link

antsanchez commented Jan 10, 2023

This is easily solved by marking the footnotes with a name instead of a number. For instance, on docs/applied_prompting/mc_tutorial.md, instead of marking the first note as [^1], mark as [^note], as on the following image:
Bildschirmfoto 2023-01-10 um 18 32 41

@trigaten
Copy link
Owner Author

This is easily solved by marking the footnotes with a name instead of a number. For instance, on docs/applied_prompting/mc_tutorial.md, instead of marking the first note as [^1], mark as [^note], as on the following image:
Bildschirmfoto 2023-01-10 um 18 32 41

This still seems undesirable. Additionally, where will that footnote appear WRT the citations. IMO it would be ideal to have all footnotes appear first and then citations at the bottom of the page. What are your thoughts on this?

@antsanchez
Copy link

We are talking about this plugin, right? https://www.npmjs.com/package/@benchmark-urbanism/remark-bibtex

@trigaten
Copy link
Owner Author

We are talking about this plugin, right? https://www.npmjs.com/package/@benchmark-urbanism/remark-bibtex

Yes, it isn't very robust, so I forked it for what this site needed: https://github.com/trigaten/remark-bibtex

@antsanchez
Copy link

Ok. This plugin is deprecated, should we first try with this other https://github.com/timlrx/rehype-citation?

@antsanchez
Copy link

@trigaten about my last comment, should I try firs with https://github.com/timlrx/rehype-citation or directly with https://github.com/trigaten/remark-bibtex?

@trigaten
Copy link
Owner Author

@trigaten about my last comment, should I try firs with https://github.com/timlrx/rehype-citation or directly with https://github.com/trigaten/remark-bibtex?

Preferably try https://github.com/trigaten/remark-bibtex since I have already slightly edited it to the site's needs, but whatever you think is best!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mid-priority web-dev website features
Projects
None yet
Development

No branches or pull requests

2 participants