@md-plugins/shared 0.1.0-beta.2 → 0.1.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The `@md-plugins/shared` package provides common utilities, types, and helpers used across various Markdown-It plugins in the `@md-plugins` ecosystem. It serves as a foundational package to ensure consistency and reduce code duplication across the plugins.
|
|
4
4
|
|
|
5
|
+
QPress applications and regular `@md-plugins/vite-md-plugin` users do not need to install this package directly. Use it only when building a custom Markdown-It plugin or contributing to the MD-Plugins packages.
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
- Shared TypeScript types for plugin environments.
|
|
@@ -11,11 +13,13 @@ The `@md-plugins/shared` package provides common utilities, types, and helpers u
|
|
|
11
13
|
|
|
12
14
|
## Installation
|
|
13
15
|
|
|
14
|
-
Install the
|
|
16
|
+
Install the package via your preferred package manager when you need it for plugin development:
|
|
15
17
|
|
|
16
18
|
```bash
|
|
17
19
|
# with pnpm:
|
|
18
20
|
pnpm add @md-plugins/shared
|
|
21
|
+
# with bun:
|
|
22
|
+
bun add @md-plugins/shared
|
|
19
23
|
# with Yarn:
|
|
20
24
|
yarn add @md-plugins/shared
|
|
21
25
|
# with npm:
|
|
@@ -102,6 +106,13 @@ function slugify(str: string): string
|
|
|
102
106
|
|
|
103
107
|
In case this README falls out of date, please refer to the [documentation](https://md-plugins.netlify.app/md-plugins/shared/overview) for the latest information.
|
|
104
108
|
|
|
109
|
+
## Support
|
|
110
|
+
|
|
111
|
+
If md-plugins shared utilities is useful in your workflow and you want to support ongoing maintenance:
|
|
112
|
+
|
|
113
|
+
GitHub Sponsors: https://github.com/sponsors/hawkeye64
|
|
114
|
+
PayPal: https://paypal.me/hawkeye64
|
|
115
|
+
|
|
105
116
|
## License
|
|
106
117
|
|
|
107
118
|
This package is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@md-plugins/shared",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.20",
|
|
4
4
|
"description": "Shared functions and utilities for md-plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown-it",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/markdown-it": "^14.1.2",
|
|
40
|
-
"markdown-it": "^14.
|
|
40
|
+
"markdown-it": "^14.2.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"markdown-it": "^14.
|
|
43
|
+
"markdown-it": "^14.2.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "unbuild",
|