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

yank-note-extension-math

v0.3.3

Published

面向数学用户的 Yank Note 扩展

Readme

Yank Note 数学扩展

示例 1

示例 2

示例 3

语法增强

定理环境

添加下列仿 LaTeX 命令

\newtheorem{name}[shared]{text}[level], 新增定理环境.

  • name, 环境名, 要求不存在且满足正则表达式 [a-zA-Z@]+.
  • shared, 要共享计数器的环境, 要求存在或为空. 默认为空, 代表不共享. 若非空, 则优先于 level.
  • text, 显示文本.
  • level, 编号层级, 要求为 0-6 的整数. 默认为 0, 代表不编号.

\begin{name}[info], 开始环境.

  • name, 环境名, 要求存在. 末尾加 * 跳过编号.
  • info, 附加信息.

\end{name}, 结束环境.

  • name, 环境名, 要求与最近的 \begin 一致, 包括 *.

\setcounter{name}{number}, 设置计数器.

  • name, 环境名, 要求存在.
  • number, 要设置的数值, 要求是整数.

\settheorem{name}{data}, 设置环境属性.

  • name, 环境名, 要求存在.
  • data, 要设置的属性, 要求是合法的 JSON 表达式, 省略外层大括号.

若参数跨行, 则需按以下格式指定限定符, 限定符可以为空.

\command{...}{{<限定符>
...
<限定符>}}{...}

~~引用~~

~~添加引用语法~~

~~目录增强~~

~~支持在目录中渲染 Markdown 行内语法~~

KaTeX 增强

渲染设置中添加 math: 默认以行间模式渲染公式 选项.

命令面板中添加 math: 打开 KaTeX 配置文件 和 ~~math: 嵌入/移除嵌入的 KaTeX 配置~~ 选项.

支持来自 Markdown 语法的加粗.

实用功能

标点替换

编辑器设置中添加 标点替换 选项卡.

命令面板中添加 math: 替换标点符号 (Shift+Alt+F) 选项.

主题样式

香蕉空间 预览

仿香蕉空间主题, 支持暗色模式, 定理环境.

添加下列样式

| 选择器 | 效果 | | :--: | -- | | .skip-number | 跳过编号 | | .auto-invert | 暗色模式下反色 | | h1 + p | 署名等附加信息 | | table.notation | 记号表格 | | ol.implies | 蕴含列表 |

多彩笔记 预览

支持暗色主题, 定理环境.

添加下列样式

| 选择器 | 效果 | | :--: | -- | | .skip-number | 跳过编号 | | .auto-invert | 暗色模式下反色 | | h1 + p | 署名等附加信息 | | h2.reference + ol | 参考文献列表 | | table.notation | 记号表格 | | ol.implies | 蕴含列表 |