HaoOuBa / Joe

A Theme of Typecho
1.51k stars 358 forks source link

建议支持base64图片便于微信转载,增加markdown的目录跳转 #101

Open scibob1 opened 2 years ago

scibob1 commented 2 years ago
  1. 建议在撰写文章时能支持base64格式的图片,如:![](data:image/png;base64,iVB...)这种格式的图片,目前7.3.7在插入这种格式图片后,文章不能显示出来,src="",在/Joe-master/typecho/write/parse/ 里的两个文件有<img的格式化,但是我看不出哪里有问题,希望能够优化一下,能支持Markdown格式的base64图片插入。微信文章转载时不能用它的图片链接,但是可以用开源的https://github.com/mdnice/sitdown/工具把微信文章转化为markdown格式,但是这样需要支持base64图片。
  2. 希望能支持Markdown的目录跳转功能,7.3.7能够在目录附加标记,但是不能跳转,如果支持更好
  3. 如果可以的话,请将开源的网页转Markdown工具https://github.com/mdnice/sitdown/的部分或全部特性增加到Joe中,这样能快速写文章
wuqiyin commented 2 years ago

https://blog.pdfqupu.com/archives/188.html 可以间接实现目录跳转

scibob1 commented 2 years ago

https://blog.pdfqupu.com/archives/188.html 可以间接实现目录跳转 666,效果很好