Installations
npm install vuepress-plugin-md-enhance
Developer Guide
Typescript
Yes
Module System
ESM
Min. Node Version
>=18.19.0
Node Version
22.13.0
NPM Version
10.9.2
Releases
Contributors
Languages
TypeScript (89.28%)
SCSS (9.3%)
JavaScript (0.78%)
CSS (0.56%)
HTML (0.08%)
Developer
Download Statistics
Total Downloads
728,393
Last Day
458
Last Week
3,245
Last Month
16,768
Last Year
255,416
GitHub Statistics
2,223 Stars
5,318 Commits
769 Forks
17 Watching
21 Branches
107 Contributors
Package Meta Information
Latest Version
2.0.0-rc.71
Package Id
vuepress-plugin-md-enhance@2.0.0-rc.71
Unpacked Size
332.78 kB
Size
83.90 kB
File Count
68
NPM Version
10.9.2
Node Version
22.13.0
Publised On
24 Jan 2025
Total Downloads
Cumulative downloads
Total Downloads
728,393
Last day
-11.4%
458
Compared to previous day
Last week
-24.2%
3,245
Compared to previous week
Last month
3.9%
16,768
Compared to previous month
Last year
0.9%
255,416
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
12
Peer Dependencies
14
Dev Dependencies
4
vuepress-plugin-md-enhance
Markdown enhancement plugin📄 / Markdown 增强插件📄
Markdown enhancement plugin📄 / Markdown 增强插件 📄
Official Docs | 官方文档
Install
1# pnpm 2pnpm add -D vuepress-plugin-md-enhance 3# npm 4npm i -D vuepress-plugin-md-enhance 5# yarn 6yarn add -D vuepress-plugin-md-enhance
Migrating from V1
-
drop flowchart support
We are adding mermaid support, and mermaid support flowchart.
-
remove
imageFix
optionLinks has been fixed in V2
-
new option
hint
Decides whether enable custom container that default theme provides
-
option
delay
for the delay operating DOM when page loads or navigates -
option
locale
to support i18n config -
add SlidePage layout which can be used in themes
-
Auto load needed CDN for code demo
安装
1# pnpm 2pnpm add -D vuepress-plugin-md-enhance 3# npm 4npm i -D vuepress-plugin-md-enhance 5# yarn 6yarn add -D vuepress-plugin-md-enhance
从 V1 迁移
-
移除 FlowChart 支持
我们已经添加了 Mermaid 支持,而 Mermaid 支持流程图
-
移除
imageFix
选项图片链接已经在 V2 中得到修正
-
选项
hint
决定是否启用默认主题提供的自定义容器
-
选项
delay
,控制页面加载和切换后进行 DOM 操作的延迟 -
选项
locale
以支持国际化配置 -
添加幻灯片布局,可在主题中引入使用
-
自动导入代码演示的所需 CDN
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
30 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 3 commits out of 4 are checked with a SAST tool
Reason
branch protection is not maximal on development and all release branches
Details
- Info: 'allow deletion' disabled on branch 'main'
- Warn: 'force pushes' enabled on branch 'main'
- Warn: branch 'main' does not require approvers
- Warn: codeowners review is not required on branch 'main'
- Info: status check found to merge onto on branch 'main'
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/build-project.yml:1
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/demo-test.yml:1
- Warn: no topLevel permission defined: .github/workflows/deploy-github-demo.yml:1
- Warn: no topLevel permission defined: .github/workflows/deploy-github-docs.yml:1
- Warn: no topLevel permission defined: .github/workflows/deploy-production.yml:1
- Warn: no topLevel permission defined: .github/workflows/issue-daily.yml:1
- Warn: no topLevel permission defined: .github/workflows/issue-labeled.yml:1
- Warn: no topLevel permission defined: .github/workflows/linter-and-unit-test.yml:1
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-project.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/build-project.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-project.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/build-project.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-project.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/build-project.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-project.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/build-project.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/demo-test.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/demo-test.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo-test.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/demo-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-demo.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-demo.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-demo.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-demo.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-github-demo.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-demo.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-demo.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-demo.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-github-demo.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-demo.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-docs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-docs.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-docs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-github-docs.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-github-docs.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-docs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-github-docs.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-github-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:212: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:215: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:220: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:223: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:238: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:128: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:154: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:157: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:173: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy-production.yml:191: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/deploy-production.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-daily.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/issue-daily.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-daily.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/issue-daily.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-daily.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/issue-daily.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-labeled.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/issue-labeled.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-labeled.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter-and-unit-test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/linter-and-unit-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter-and-unit-test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/linter-and-unit-test.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter-and-unit-test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/linter-and-unit-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter-and-unit-test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/linter-and-unit-test.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter-and-unit-test.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/linter-and-unit-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/publish.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/vuepress-theme-hope/vuepress-theme-hope/publish.yml/main?enable=pin
- Info: 0 out of 37 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 28 third-party GitHubAction dependencies pinned
Score
5.7
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More