remark-flexible-toc 1.1.0 → 1.1.1

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/README.md +2 -0
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -389,6 +389,8 @@ I like to contribute the Unified / Remark / MDX ecosystem, so I recommend you to
389
389
 
390
390
  - [`rehype-pre-language`](https://www.npmjs.com/package/rehype-pre-language)
391
391
  – Rehype plugin to add language information as a property to `pre` element
392
+ - [`rehype-highlight-code-lines`](https://www.npmjs.com/package/rehype-highlight-code-lines)
393
+ – Rehype plugin to add line numbers to code blocks and allow highlighting of desired code lines
392
394
 
393
395
  ### My Recma Plugins
394
396
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-flexible-toc",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Remark plugin to expose the table of contents via Vfile.data or via an option reference",
5
5
  "type": "module",
6
6
  "exports": "./dist/esm/index.js",
@@ -49,32 +49,32 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/dedent": "^0.7.2",
52
- "@types/node": "^20.11.30",
52
+ "@types/node": "^20.14.8",
53
53
  "@types/remark-heading-id": "^1.0.0",
54
- "@typescript-eslint/eslint-plugin": "^7.3.1",
55
- "@typescript-eslint/parser": "^7.3.1",
56
- "@vitest/coverage-v8": "^1.4.0",
57
- "dedent": "^1.5.1",
54
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
55
+ "@typescript-eslint/parser": "^7.13.1",
56
+ "@vitest/coverage-v8": "^1.6.0",
57
+ "dedent": "^1.5.3",
58
58
  "eslint": "^8.57.0",
59
59
  "eslint-config-prettier": "^9.1.0",
60
60
  "eslint-plugin-prettier": "^5.1.3",
61
- "prettier": "^3.2.5",
61
+ "prettier": "^3.3.2",
62
62
  "rehype-format": "^5.0.0",
63
63
  "rehype-stringify": "^10.0.0",
64
64
  "remark-gfm": "^4.0.0",
65
65
  "remark-heading-id": "^1.0.1",
66
66
  "remark-parse": "^11.0.0",
67
67
  "remark-rehype": "^11.1.0",
68
- "rimraf": "^5.0.5",
69
- "type-coverage": "^2.27.1",
70
- "typescript": "^5.4.3",
71
- "unified": "^11.0.4",
68
+ "rimraf": "^5.0.7",
69
+ "type-coverage": "^2.29.0",
70
+ "typescript": "^5.5",
72
71
  "vitest": "^1.4.0"
73
72
  },
74
73
  "dependencies": {
75
- "@types/mdast": "^4.0.3",
74
+ "@types/mdast": "^4.0.4",
76
75
  "github-slugger": "^2.0.0",
77
76
  "mdast-util-to-string": "^4.0.0",
77
+ "unified": "^11.0.5",
78
78
  "unist-util-visit": "^5.0.0"
79
79
  },
80
80
  "sideEffects": false,