Closed resizoltan closed 2 years ago
Added support for HTML-formatted image links (which support resizing): \ -> \
Also fixed a minor bug in the original regex.
Closing this pull request, since Andrew-Chen-Wang's github-wiki-action does this much more powerfully.
Description:
This feature adds support for displaying images on the wiki that are located in
$MD_FOLDER/$GFX_PATH
directory. This is achieved by modifying every image URL that match the regex to point to the correct web URL of that image, for every copied file.Example:
I tested with the repo https://github.com/resizoltan/wiki_update (which I will take down after the PR)
Config:
URL modification:
![cat](gfx/cat.jpg) -> ! [cat](https://raw.githubusercontent.com/resizoltan/wiki_update/master/doc/gfx/cat.jpg)
Notes: