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

Fix Footnotes Not Working Correctly #27

Merged

Conversation

unnamedunknownusername
Copy link
Contributor

@unnamedunknownusername unnamedunknownusername commented Apr 7, 2023

Footnotes have not been working since we tried to fix the display empty tuple issue - #20

Notice how the numbers don't show up in the example notebook
image

I decided to abandon the old "cssString" approach and use PlutoUI.Combine function which makes things a lot cleaner in my opinion

I also moved the Inline and Bottom prefix on all the functions so that everything starts with Footnotes - which I think helps discoverability

remove old separation between inline and bottom footnotes as it was causing issues. Instead combine css for bottom and inline footnotes and js for inline numbering in one function. This also drops dependency on HyperTextLiteral
propagate changes to example notebook
use PlutUI combine
add back text
propagate changes
add script id
change ordering
@eford
Copy link
Collaborator

eford commented Apr 10, 2023

Sorry the footnotes got broken. I'll go ahead and merge this without testing so as to avoid delays. Please follow-up to test that it works and with any needed tweaks.

@eford eford merged commit 8c6dc5a into JuliaPluto:main Apr 10, 2023
@unnamedunknownusername
Copy link
Contributor Author

Thanks so much for the speedy release.

working as expected
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants