Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imzbf/markdown-theme

Themes for md-editor-v3 and md-editor-rt series
https://github.com/imzbf/markdown-theme

markdown md-editor-rt md-editor-v3 theme

Last synced: 3 months ago
JSON representation

Themes for md-editor-v3 and md-editor-rt series

Awesome Lists containing this project

README

        

# markdown-theme

[English](https://github.com/imzbf/markdown-theme) \| 中文

[md-editor-v3](https://github.com/imzbf/md-editor-v3)系列预览`markdown`内容主题。

| 主题名 | 来源 |
| --- | --- |
| default | |
| vuepress | |
| github | |
| cyanosis | [juejin-markdown-theme-cyanosis](https://github.com/linxsbox/juejin-markdown-theme-cyanosis) |
| mk-cute | [juejin-markdown-theme-mk-cute](https://github.com/Jacky-Summer/juejin-markdown-theme-mk-cute) |
| smart-blue | [juejin-markdown-theme-smart-blue](https://github.com/cumt-robin/juejin-markdown-theme-smart-blue) |

> 样式不完全与原主题相同,仅部分参考。此仓库为编辑器默认主题库。如果您有优秀的主题,鼓励前往扩展库[md-editor-extension](https://github.com/imzbf/md-editor-extension)参与贡献。

## 安装

```shell
yarn add @vavt/markdown-theme
```

## 使用

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

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

引入全部主题

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

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