It is possible to support callback for external link references in the future, please tell us whether that’s useful for you.
It is indeed useful for me.
Here is my motivation: I'm evaluating this library for a tool I have that currently uses pulldown-cmark. I'm using [foo] to refer to other documents but without foo being registered as a reference, the link does not resolve. Since pre-filling the reference map with all other documents is expensive I rather not do that.
Now there is an alternative for me which is to just register another inline rule that matches [foo] and have that take advantage of the fact that the current text stays unparsed. But I figured before I do that, I ask if it wouldn't be better to add such a callback.
It is indeed useful for me.
Here is my motivation: I'm evaluating this library for a tool I have that currently uses pulldown-cmark. I'm using
[foo]
to refer to other documents but withoutfoo
being registered as a reference, the link does not resolve. Since pre-filling the reference map with all other documents is expensive I rather not do that.Now there is an alternative for me which is to just register another inline rule that matches
[foo]
and have that take advantage of the fact that the current text stays unparsed. But I figured before I do that, I ask if it wouldn't be better to add such a callback.