Auto convert URLS to embedded numbered links

I would like to have a feature when I copy-paste a URL in logseq auto-convert to embed numbered links (like citing)
e.g.
GitHub is where over 94 million developers shape the future of software together https://github.com/ .
So this link of the link should convert to a citation-like link
GitHub is where over 94 million developers shape the future of software together [1].
where text is written, links get converted to embedded ascending numbers.
Is this possible? This will be handy in an academic context.