mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-04 05:44:50 +00:00
Using Label instead of Order in a Footnote
#584
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @omer-iqbal on GitHub (Dec 11, 2022).
I am working with documents and Islamic commentaries. My goal is to preserve the original footnote numbers or labels so they can be searched and found by the users and so users can also cite the original footnote when needed. So I need to preserve the original footnote.
There are two issues:
Based on that, it looks like footnotes need a feature where
Footnote.Labelcan be used in the markup instead of theFootnote.Orderproperty.Then, based on an option provided,
HtmlFootnoteGroupRendererwill either useOrderorLabel(without the ^ prefix).If this proposal seems acceptable, I can try to make a pull request (not sure though what the time frame might look like).
Comments/suggestions/feedback welcome.
I looked at this list of issues and didn't find a similar issue.
@xoofx commented on GitHub (Jan 24, 2023):
I'm confused, because Footnote in markdig do support using label instead of order here in the specs, so why this is not working for your case?