简体   繁体   中英

Image url instead of Base64 - Markdown Editor

Toastui wysiwyg/markdown editor encodes image files into Base64. Well, this seems handy but I expect the DB to be used quite heavily for a long term. This will cause some issues - searching slow, implementing image library.

I have been working to remove this encoding option but no great success yet. For example, instead of storing images like...

![image.JPG](data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAkACQAAD/4RD6RXhpZ)

it should be...

![Somepath](images/image.jpg)

Any documentation? or any examples to refer?

Thanks !

假设您有一个名为test.jpg的图形文件,它与 markdown 文件位于同一目录中:

![](test.jpg)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM