remark-mdat 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +5 -6
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-mdat",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A remark plugin implementing the Markdown Autophagic Template (MDAT) system.",
5
5
  "keywords": [
6
6
  "mdat",
@@ -18,7 +18,7 @@
18
18
  "bugs": "https://github.com/kitschpatrol/remark-mdat/issues",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "https://github.com/github:kitschpatrol/remark-mdat"
21
+ "url": "git+https://github.com/kitschpatrol/remark-mdat.git"
22
22
  },
23
23
  "license": "MIT",
24
24
  "author": {
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@types/mdast": "^4.0.4",
38
- "@types/node": "18.19.0",
38
+ "@types/node": "^18.19.79",
39
39
  "@types/unist": "^3.0.3",
40
40
  "type-fest": "^4.36.0",
41
41
  "unified": "^11.0.5",
@@ -43,7 +43,7 @@
43
43
  "zod": "^3.24.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@kitschpatrol/shared-config": "^5.0.6",
46
+ "@kitschpatrol/shared-config": "^5.2.0",
47
47
  "@microsoft/api-extractor": "^7.51.1",
48
48
  "bumpp": "^10.0.3",
49
49
  "chalk": "^5.4.1",
@@ -60,8 +60,7 @@
60
60
  "vitest": "^3.0.7"
61
61
  },
62
62
  "engines": {
63
- "node": "^18.19.0 || >=20.5.0",
64
- "pnpm": ">=10.0.0"
63
+ "node": "^18.19.0 || >=20.5.0"
65
64
  },
66
65
  "publishConfig": {
67
66
  "access": "public"
package/readme.md CHANGED
@@ -120,7 +120,7 @@ import { remark } from 'remark'
120
120
  import remarkMdat from 'remark-mdat'
121
121
 
122
122
  const markdownInput = '<!-- mdat -->'
123
- const markdownOutput = await remark().use(remarkMdat).process(markdown)
123
+ const markdownOutput = await remark().use(remarkMdat).process(markdownInput)
124
124
 
125
125
  console.log(markdownOutput.toString())
126
126
 
@@ -148,7 +148,7 @@ const rules: Rules = {
148
148
  const markdownInput = '<!-- time -->'
149
149
 
150
150
  // Pass the time rule to remarkMdat
151
- const markdownOutput = await remark().use(remarkMdat, { rules }).process(markdown)
151
+ const markdownOutput = await remark().use(remarkMdat, { rules }).process(markdownInput)
152
152
 
153
153
  console.log(markdownOutput.toString())
154
154