@md-plugins/md-plugin-frontmatter 0.1.0-alpha.2 → 0.1.0-alpha.21

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 CHANGED
@@ -103,6 +103,10 @@ Run the unit tests with `Vitest` to ensure the plugin behaves as expected:
103
103
  pnpm test
104
104
  ```
105
105
 
106
+ ## Documentation
107
+
108
+ In case this README falls out of date, please refer to the [documentation](https://md-plugins.netlify.app/md-plugins/frontmatter/overview) for the latest information.
109
+
106
110
  ## License
107
111
 
108
112
  This project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ const frontmatterPlugin = (md, { grayMatterOptions, renderExcerpt = false } = {}
11
11
  console.error("Failed to parse frontmatter:", error);
12
12
  data = {};
13
13
  content = src;
14
- excerpt = void 0;
14
+ excerpt = undefined;
15
15
  }
16
16
  env.content = content;
17
17
  env.frontmatter = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@md-plugins/md-plugin-frontmatter",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.21",
4
4
  "description": "A markdown-it plugin for handling frontmatter in markdown files.",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -32,11 +32,15 @@
32
32
  "files": [
33
33
  "./dist"
34
34
  ],
35
- "dependencies": {
36
- "@types/markdown-it": "^14.1.2",
35
+ "devDependencies": {
37
36
  "gray-matter": "^4.0.3",
38
37
  "markdown-it": "^14.1.0",
39
- "@md-plugins/shared": "0.1.0-alpha.2"
38
+ "@types/markdown-it": "^14.1.2",
39
+ "@md-plugins/shared": "0.1.0-alpha.21"
40
+ },
41
+ "peerDependencies": {
42
+ "gray-matter": "^4.0.3",
43
+ "markdown-it": "^14.1.0"
40
44
  },
41
45
  "publishConfig": {
42
46
  "access": "public"