Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imzbf/markdown-theme
- Owner: imzbf
- Created: 2021-09-20T09:41:33.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-03-21T05:35:10.000Z (10 months ago)
- Last Synced: 2024-03-21T06:34:58.676Z (10 months ago)
- Topics: markdown, md-editor-rt, md-editor-v3, theme
- Language: SCSS
- Homepage:
- Size: 270 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-CN.md
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`版本的编辑器中单独引入主题。