Closed ssaraswati closed 1 year ago
Hey @ssaraswati, awesome timing - exactly what I also wanted to implement right now. One suggestion though: Probably change regex from r"!\[\w\*\]\((.*)\)"
to r"!\[[\w\. ]*\]\((?!http|file)(.*)\)"
because a lot of people are naming their picture like the filename which includes a dot or add spaces in the title? In addition I excluded http(s) and file to exclude images referencing on external images like pipeline status image etc. Wdyt?
@simonstamm Seems like a good improvement, have updated the regex to your version.
Hey @pawelsikora, what do you think about this PR? Can this be merged? :)
Hey @pawelsikora, what do you think about this PR? Can this be merged? :)
Hi,
PR looks fine, thanks for this improvement!
I will have a look at it today and merge&release a new version into pip repo if no changes will be needed :)
Already in main&rel_0.2.6 in one commit:
c022db9f5f90c4815feb69c78c24e0ae36dae01b
Package pushed into pip: https://pypi.org/project/mkdocs-with-confluence/0.2.6/
Changes to improve image uploading.