zachhannum / mkdocs-autolinks-plugin

An MkDocs plugin that automagically generates relative links between markdown pages
https://pypi.org/project/mkdocs-autolinks-plugin/
MIT License
80 stars 31 forks source link

Add support for empty alt text images #14

Closed orbikm closed 3 years ago

orbikm commented 3 years ago

Issue: #13

orbikm commented 3 years ago

To interested developers, since this project seems unmaintained at this point, and had a few bugs that were preventing me from using it in production, I have created a replacement plugin, mkdocs-ezlinks-plugin.

It is currently in alpha while I sort out some minor bugs and add a few additional feature enhancements.

The following issues are addressed in mkdocs-ezlinks-plugin

DominikaK commented 3 years ago

Please note that this currently results in the following error:

File "<...>\appdata\local\programs\python\python37-32\lib\site-packages\mkdocs_autolinks_plugin\plugin.py", line 15
    AUTOLINK_RE = r'(?:\!\[\]|\[([^\]]+)\])\((([^)/]+\.(md|png|jpg|jpeg|bmp|gif))(#.*)*)\)"
                                                                                          ^
SyntaxError: EOL while scanning string literal

presumably due to the unmatching single/double quotes in https://github.com/midnightprioriem/mkdocs-autolinks-plugin/pull/14/files#diff-4b4c0255135a5ee371839e4bc09886107e798b2f6654779aa135ded21daad8a0R15

zachhannum commented 3 years ago

Thanks for that. Fixed in f78aa02ba60af1dc3beb7a1ba31374b3728cbd42