marked-prismjs-linenumber 0.0.3 → 0.0.5

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 +6 -2
  2. package/readme.md +2 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "marked-prismjs-linenumber",
3
- "version": "0.0.3",
4
- "description": "Return HTML with line-number structure",
3
+ "version": "0.0.5",
4
+ "description": "Return HTML with prismjs line-number structure",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
7
7
  "module": "./index.mjs",
@@ -16,6 +16,10 @@
16
16
  "index.mjs",
17
17
  "index.cjs"
18
18
  ],
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/Yz0012/y_z00blog/tree/main/marked-extensions/marked-prismjs-linenumber"
22
+ },
19
23
  "keywords": ["marked", "prismjs", "linenumber"],
20
24
  "author": "Y_z00",
21
25
  "license": "MIT"
package/readme.md CHANGED
@@ -82,6 +82,8 @@ The code block above is rendered as:
82
82
  </pre>
83
83
  ```
84
84
 
85
+ [Effect display](https://yz0012.github.io/y_z00blog/Post/%E6%9D%82%E9%A1%B9/%E8%A1%8C%E5%8F%B7%E7%A4%BA%E4%BE%8B.html)
86
+
85
87
  Each `<span></span>` inside `.line-numbers-rows` becomes one line number via the Prism line-numbers CSS.
86
88
 
87
89
  ## API