简体   繁体   English

图像 url 而不是 Base64 - Markdown 编辑器

[英]Image url instead of Base64 - Markdown Editor

Toastui wysiwyg/markdown editor encodes image files into Base64. Toastui 所见即所得/降价编辑器将图像文件编码为 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)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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