datopian / flowershow

💐 Publish your obsidian digital garden or any markdown site easily and elegantly.
https://flowershow.app/
MIT License
851 stars 100 forks source link

[][m]: Add image size adjustment #622

Closed mohamedsalem401 closed 10 months ago

mohamedsalem401 commented 10 months ago

For https://github.com/datopian/flowershow/issues/592

I am replacing embeded images ![[image.png|100]] with HTML tags. Example:

1-

![image.png|100x100](src)  // Initial

<img src="image" width="100" height="100"/> // result

2-

![alt](src) --> <img src="src"/>
![alt|200](src) --> <img src="src" width="200" height="200"/>
![alt|200x300](src)  --> <img src="src" width="200" height="300"/>
vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
flowershow-ssr-r2 ✅ Ready (Inspect) Visit Preview Jan 23, 2024 10:57pm