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

@knewbeing/vitepress-plugin-enhanced-mark

v1.1.1

Published

[![npm version](https://img.shields.io/npm/v/@knewbeing/vitepress-plugin-enhanced-mark.svg)](https://www.npmjs.com/package/@knewbeing/vitepress-plugin-enhanced-mark) [![license](https://img.shields.io/npm/l/@knewbeing/vitepress-plugin-enhanced-mark.svg)]

Readme

@knewbeing/vitepress-plugin-enhanced-mark

npm version license

为 VitePress <mark> 高亮标签提供增强样式的 CSS 包。

通过导入样式文件,为 Markdown 中的 ==高亮文本==<mark> 标签渲染更美观、可定制的高亮效果,支持亮色/暗色主题自适应。


版权声明 / Copyright

本包代码派生自 @nolebase/vitepress-plugin-enhanced-mark(MIT 许可证)。
原始版权归 nolebase 所有。
knewbeing(知在,[email protected])改进并重新发布,修改部分仍遵循 MIT 许可证。

This package is derived from @nolebase/vitepress-plugin-enhanced-mark (MIT License).
Original copyright belongs to nolebase.
Improved and republished by knewbeing ([email protected]). Modifications remain under MIT License.


功能特性 / Features

  • 🖌 增强高亮样式 — 为 <mark> 元素提供比浏览器默认更优雅的高亮外观
  • 🌙 深色模式支持 — 自动适配 VitePress 的亮色/暗色主题切换
  • 🎨 CSS 变量驱动 — 使用 CSS 自定义属性,便于在主题中覆盖颜色
  • 📦 纯 CSS 方案 — 无 JavaScript,无运行时开销,直接导入即用

安装 / Installation

npm install @knewbeing/vitepress-plugin-enhanced-mark
# or
pnpm add @knewbeing/vitepress-plugin-enhanced-mark

使用 / Usage

在 VitePress 主题入口文件中导入样式:

// .vitepress/theme/index.ts
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import '@knewbeing/vitepress-plugin-enhanced-mark/client/style.css'

export default {
  extends: DefaultTheme,
} satisfies Theme

完成后,Markdown 中的 ==高亮文本==(需配合 markdown-it-mark 插件)或 <mark>标签</mark> 将自动应用增强样式。


Markdown 示例 / Markdown Example

这是一段包含 ==高亮文本== 的内容。

<mark>这也是高亮文本</mark>

许可证 / License

MIT

相关链接 / Links