Skip to content

Allow disabling of inline footnotes + documentation on inline footnotes#1112

Open
chillbram wants to merge 1 commit intothephpleague:mainfrom
chillbram:anonymous-footnotes
Open

Allow disabling of inline footnotes + documentation on inline footnotes#1112
chillbram wants to merge 1 commit intothephpleague:mainfrom
chillbram:anonymous-footnotes

Conversation

@chillbram
Copy link
Contributor

@chillbram chillbram commented Feb 13, 2026

Problem: while using our new sup extension, adding a link to superscript (^[Text](link)^) suddenly created footnotes.

I couldn't find any documentation on the ^[Footnote] notation, but diving in the code base I found out this was a feature. So I added the explanation of the feature I found in the test suite and also added some example code to the regular docs.

To fix the incompatibility, I propose this new config value enable_inline_footnotes to allow users to disable inline footnotes. The implementation should be fully backwards compatible, as the default is still set to true. I added a test for this behavior.

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.

1 participant