Also render footnotes in tooltip shortcode #60
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/footnote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Still in a draft state before my ssd broke, I will get it done tomorrow, some of them still need to be properly placed in their respective locations. So far, what do you think?
I'm also unsure where the
fictioneer_after_tooltip_shortcode
andthe_content
hooks should belong.Preview:

I have to take a deeper look later, but I immediately encountered one style problem. You surround the link with a block inside the paragraph. Should probably just need a span.
You’re right, I totally forgot about that.
Ready for a proper review! I believe this is good enough for the initial/basic footnote feature. I’ll leave the design style and appropriate user messages to you. Let me know if something needs to change.
I believe you somehow ended up in the wrong line while editing.
gonna fix it asap!
I'm currently unsure what's the best style approach and whether this should be in the content (and therefore subject to the custom formatting) or its own box.
I took a look at a few tl sites, most of them have simpler approach by either use the current style or add a horizontal line to separate the content from the footnote section.
I'm gong to ponder that for a bit. I'm currently stuck trying to figure out why
scroll-margin-top
does not work on the super link. It's a minor thing but I believe it would be better the footnote to not be hidden behind the nav bar if you scroll up again. I just don't want to add JS for that.Are you still have the issue? I tried to add
.scroll-margin-top
as tooltip anchor class, it's seems working fine.https://github.com/user-attachments/assets/884ac58d-aad5-4d50-b883-512657f7b3fd
Somehow, the very same thing does not work for me. Typical.
@iniznet What do you think about the style and changes? I believe it can be merged now.
Looks great! I think the only thing left is to explain the shortcode somewhere, like in
DOCUMENTATION.md
.