mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 00:54:21 +08:00
Nested footnotes do not work, but still render as if they do. This commit strips out any nested footnotes, and pretends they aren't there. | Then | Now | |--------|--------| | <img width="437" height="106" alt="CleanShot 2026-07-01 at 11 39 03" src="https://github.com/user-attachments/assets/1bb915c4-d63d-438f-a51b-a5e246be3dcf" /> | <img width="325" height="103" alt="CleanShot 2026-07-01 at 14 49 20" src="https://github.com/user-attachments/assets/b74594ab-84dc-437c-bea5-089aa72178e0" /> | Also deleted old CSS to hide the `footnote-backref `, since these are no longer rendered in the inline-footnote at all. --------- Co-authored-by: David Taylor <david@taylorhq.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| config | ||
| spec | ||
| test/javascripts/acceptance | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
Discourse footnotes plugin
https://meta.discourse.org/t/discourse-footnote/84533
Official footnotes Discourse plugin
Based off: github.com/markdown-it/markdown-it-footnote