The hacky fix performed to close issue #4 while it works is slow becuase regex procedures need to be run on all the text of all the markdown files. That's a lot of extra processing. Issue #9 uses markdown-it & markdown-it-replace-links to change links as they're being parsed by the markdown renderer. The plugin works with image links as well so the same procedure should be possible as in the changes in #4 but used here to clean up the link transformation.
The hacky fix performed to close issue #4 while it works is slow becuase regex procedures need to be run on all the text of all the markdown files. That's a lot of extra processing. Issue #9 uses
markdown-it
&markdown-it-replace-links
to change links as they're being parsed by the markdown renderer. The plugin works with image links as well so the same procedure should be possible as in the changes in #4 but used here to clean up the link transformation.