You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unused link definitions are not present in parser output #435
# Test
[ref-link][link-id]
[shortcut]
[collapse][]
[link-id]:https://my.link/foo "my link"
[shortcut]:./shortcut
[collapse]:https://my.link/collapse
[obsolete]:https://my.link/obsolete-link
Last link definition (obsolete) is not present in the parser output in any way. In my use case I would still like to know about such links so I could surface those in some way. Maybe there could be an option for the parser which would emit events for link definitions when user opts-in ?
Even better (but more intrusive) alternative might be to make Tag::Links refer to it's definition. It could be either Inline, Autolink, Emailor a namedDefinition`. Although it does not appear to fit well current design.
changed the title [-]unusef link definitions are not present in parser output[/-][+]unused link definitions are not present in parser output[/+]on Apr 6, 2020
Is it possible to know that the reference definition appeared between the two paragraphs? Worst case scenario, I will just parse this information out of the file myself.
On the other hand I do care about knowing reference definition regardless if it has being used. That being said I think this could be closed as duplicate.
Activity
ScottAbbey commentedon Mar 30, 2020
Is this the same as #423?
[-]unusef link definitions are not present in parser output[/-][+]unused link definitions are not present in parser output[/+]Gozala commentedon Apr 6, 2020
I don't specifically care about:
On the other hand I do care about knowing reference definition regardless if it has being used. That being said I think this could be closed as duplicate.