Trun image into bs64 to store img in a md file via bs64. This porgram aims to store img in a md file via bs64.
Just like this website on Github Page,if you want to ask why not show in this README.md, I can just tell you this method apply to Github Page, Typora.
For more information, you could look through this website
- get bs64 of the img:just download the py, and change the img filepath in the bottom the py program.
- copy the bs64, paste it in the right place
![imgdemo][1]
[1]:data:image/jpg;base64