-
Solo 如何给每篇文章添加 js 脚本
2019-09-29 16:29你可以在脚本之前写
document.querySelector('.article').setAttribute('id', yourid)
-
Vditor 一款浏览器端的 Markdown 编辑器,支持所见即所得(富文本)、即时渲染(类似 Typora)和分屏预览模式
2019-09-17 01:07onclick="vditor.insertValue('1')"
我在代码 https://github.com/b3log/vditor/blob/master/demo/index.html 中加如以上代码测试是可以的。麻烦更新到最新版本,或给出相关代码。
-
b3log 系列产品,前端是怎样渲染 markdown 文本的?
2019-09-06 10:47