新增特性:
- ⭐️ 新增属性
noHighlight,设置为true时,不会高亮代码,也不会加载相应的库。 - ⭐️
MdEditor.config新增codeMirrorExtensions配置和markdownItConfig配置(#234 )。 - ⭐️ 新增代码卡片模块,使用语法参考代码卡片(#236 )。
重构:
- 🌟 输入框使用
codemirror替换默认的textarea,并且支持在MdEditor.config中自定义一些扩展。 - 🌟
Markdown解析器从marked替换为markdown-it。 - 🌟 移除属性
historyLength。 - 🌟 重命名属性
markedHeadingId为mdHeadingId。 - 🌟 移除
Ctrl+Q快捷键,因为它与浏览器默认的冲突。 - 🌟 同步滚动重构,支持模块间的同步滚动(#229 )。
- 🌟 废弃删除线语法
~内容~,使用标准的~~内容~~。
New Features:
- ⭐️ Prop
noHighlight, while set it totrue, editor will not highlight code, and will not load highlight library too. - ⭐️ New configuration item of
MdEditor.config:codeMirrorExtensions,markdownItConfig(#234 ). - ⭐️ Code tabs block, reference: Combination(#236 ).
Refactor:
- 🌟 Replace
textareawithcodemirroras the input box, and support customization of some extensions inMdEditor. config. - 🌟 Replace the
Markdownparser frommarkedtomarkdown-it. - 🌟 Delete the prop
historyLength. - 🌟 Rename the prop
marketHeadingIdtomdHeadingId. - 🌟 Remove shortcut key
Ctrl+Qbecause it conflicts with the browser. - 🌟 Support synchronizing scrolling between modules(#229 ).
- 🌟 Discard strikethrough syntax
~conten~, using standard syntax~~content~~.