npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vavt/markdown-theme

v5.0.2

Published

Themes for md-editor-v3 series

Readme

markdown-theme

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版本的编辑器中单独引入主题。

开发手册

目录解析

common                    # 公共样式目录
├── modules               # 模块样式目录
│   ├── admonition.scss   # 提示框样式
│   ├── code.scss         # 代码块样式
│   ├── figure.scss       # 图像样式
│   ├── heading.scss      # 标题样式
│   ├── hr.scss           # 分割线样式
│   ├── image.scss        # 图像样式
│   ├── katex.scss        # 数学公式样式
│   ├── link.scss         # 链接样式
│   ├── list.scss         # 列表样式
│   ├── mermaid.scss      # 流程图等样式
│   ├── paragraph.scss    # 段落样式
│   ├── quote.scss        # 引用样式
│   └── table.scss        # 表格样式
├── css-vars.scss         # CSS 变量定义
├── index.scss            # 公共样式入口
└── scss-vars.scss        # SCSS 变量定义
themes
├── all                   # 所有主题样式目录
    ├── index.scss        # 汇集所有主题样式入口,新增主题时需要在此处引入
├── default               # default 主题样式目录
    ├── modules           # 当前主题模块样式目录,与 common/modules 结构相同,用于覆盖公共样式
    ├── css-vars.scss     # 当前主题 CSS 变量定义,用于覆盖公共变量
    ├── index.scss        # 当前主题样式入口
    └── scss-var.scss     # SCSS 变量定义
├── cyanosis              # cyanosis 主题样式目录
├── github                # github 主题样式目录
├── mk-cute               # mk-cute 主题样式目录
├── smart-blue            # smart-blue 主题样式目录
└── vuepress              # vuepress 主题样式目录
  1. 新增主题,可以以themes/default目录为模块,创建新的主题目录,并修改对应的样式文件。
  2. 新增模块样式,可以在common/modules目录下创建对应的样式文件,并在common/index.scss中引入。同时需要在各主题的modules目录下创建对应的样式文件,用于覆盖公共样式。
  3. 新增公共变量,可以在common/scss-vars.scsscommon/css-vars.scss中添加变量定义。
  4. 新增主题变量,可以在对应主题的scss-vars.scsscss-vars.scss中添加变量定义。
  5. 新增主题后,需要在themes/all/index.scss中引入新的主题样式入口。