新增特性
noIconfont属性,这将不会请求矢量图标库资源,相反,你需要自行下载图标到项目中引入。- 配置
prettier,参考配置编辑器的EditorExtensions,完全配置参考自行引入扩展库。 onClickMdCatalog 组件属性,点击每个导航时的事件,使用参考文档源码。- 如果未使用
MdEditor.config配置延迟渲染时间, 仅预览模式下将默认为0,即不延迟。 - 继承
marked.Renderer,重写markedRenderer入参render.heading,提供文章标题下标为第5入参(#123 )。
调整
- 部分功能重构。
修复
- 修复图片及链接hover title为空的情况(#121 )。
- 修复隐藏后展示编辑器,同步滚动失效问题(#121 )。
- 修复部分语言代码模块highlight报错问题(#123)。
- 修复vuepress模式下,行内代码样式不统一问题(#121 )。
New Feature
noIconfontprop. Not append iconfont script to document. Download and import it by yourself.- config
prettier. ReferenceEditorExtensionsin Config Editor . All library example, reference Import All Library. onClickMdCatalog prop. Navigation clicked event, reference source code.- If don't use
MdEditor.configto configrenderDelay,renderDelaywill be set to 0 whilepreviewOnly = true. - Extends
marked.Renderer, Rewriterender.heading, provide heading index as the fifth parameter(#123 ).
Refactor
- Refactor some codes.
Fix