New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sitdown/zhihu

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitdown/zhihu - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

8

package.json
{
"name": "@sitdown/zhihu",
"version": "1.0.0",
"version": "1.0.1",
"description": "> TODO: description",

@@ -30,3 +30,7 @@ "author": "LinFeng1997 <244732635@qq.com>",

"url": "https://github.com/mdnice/sitdown/issues"
}
},
"devDependencies": {
"sitdown": "^1.0.1"
},
"gitHead": "1c9a1e6646b0c893767514bb7f8edd26df4f02c8"
}
# `@sitdown/zhihu`
> TODO: description
知乎 html 转 md 注意处:
1. 知乎进行了中文排版美化,如数字与中文、中文与英文间有空格
2. 图片转储了,并在 noscript 里有一份备份
3. 图片、链接描述(alt)没了
4. 知乎将公式转成图片了
5. 知乎把强调的链接的强调给滤掉了

@@ -8,5 +13,12 @@ ## Usage

```
const zhihu = require('@sitdown/zhihu');
import { Sitdown } from 'sitdown';
import { applyZhihuRule } from '@sitdown/zhihu';
let sitdown = new Sitdown({
keepFilter: ['style'],
codeBlockStyle: 'fenced',
bulletListMarker: '-',
hr: '---',
});
sitdown.use(applyZhihuRule);
// TODO: DEMONSTRATE API
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc