marked-prismjs-linenumber 0.0.2 → 0.0.4
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/package.json +5 -1
- package/readme.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "marked-prismjs-linenumber",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Return HTML with line-number structure",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.cjs",
|
|
@@ -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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> A [marked](https://marked.js.org/) renderer that highlights Markdown code blocks with [Prism.js](https://prismjs.com/) and renders line numbers — just like the `line-numbers` plugin, but produced straight from the Markdown parser.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/marked-
|
|
5
|
+
[](https://www.npmjs.com/package/marked-prismjs-linenumber)
|
|
6
6
|
[](./LICENSE)
|
|
7
7
|
|
|
8
8
|
## Installation
|