marcus-grant / markipedia

My personal wikipedia made from zettelkasten notetaking system
GNU Affero General Public License v3.0
1 stars 0 forks source link

Redo image link replacement #13

Closed marcus-grant closed 1 year ago

marcus-grant commented 1 year ago

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.

marcus-grant commented 1 year ago

Handled by 3913f47