Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.1 KB

README-CN.md

File metadata and controls

38 lines (26 loc) · 1.1 KB

markdown-theme

English | 中文

md-editor-v3系列预览markdown内容主题。

主题名 来源
default
vuepress
github
cyanosis juejin-markdown-theme-cyanosis
mk-cute juejin-markdown-theme-mk-cute
smart-blue juejin-markdown-theme-smart-blue

样式不完全与原主题相同,仅部分参考。此仓库为编辑器默认主题库。如果您有优秀的主题,鼓励前往扩展库md-editor-extension参与贡献。

安装

yarn add @vavt/markdown-theme

使用

引入单个主题(按需替换[name].css)

import '@vavt/markdown-theme/default.css';

引入全部主题

import '@vavt/markdown-theme/all.css';

不再支持在>2.10.0版本的编辑器中单独引入主题。