Recently, I switched the html document backup to markdown. I used this htmltomarkdown. How can I use regular expressions to match all image addresses and then use the markdown syntax to replace it? Recently, I switched the html document backup to markdown. I used this html to markdown. How can I use regular expressions to match all image addresses and then use the markdown syntax to replace it?
Reply content:
Recently, I switched the html document backup to markdown. I used this html to markdown. How can I use regular expressions to match all image addresses and then use the markdown syntax to replace it?
Images can be converted. Your problem should be that some images in some articles use lazy loading without setting the src attribute. Instead, they are changed to properties similar to data-src, this can only be handled by yourself, and may be different for each website.