@dr-ishaan/remake-blocks 1.2.0 → 1.3.0
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/dist/remark-remake-blocks.d.ts.map +1 -1
- package/dist/remark-remake-blocks.js +322 -8
- package/dist/remark-remake-blocks.js.map +1 -1
- package/dist/sanitize-schema.json +50 -0
- package/dist/styles.css +39 -0
- package/dist/theme/docusaurus.css +610 -0
- package/dist/theme/github.css +660 -0
- package/dist/theme/obsidian.css +610 -0
- package/dist/theme/vitepress.css +603 -0
- package/dist/types.d.ts +20 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +19 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dr-ishaan/remake-blocks",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Astro 6 + remark plugin for GitHub-style callouts (admonitions), enhanced blockquotes, and disclosure widgets — 27 first-class types +
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Astro 6 + remark plugin for GitHub-style callouts (admonitions), enhanced blockquotes, and disclosure widgets — 27 first-class types + 4 themes + inline callouts + directive syntax + safe-by-default HTML escaping + Lucide/emoji icon sets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -15,7 +15,12 @@
|
|
|
15
15
|
"./astro": {
|
|
16
16
|
"import": "./dist/astro.js",
|
|
17
17
|
"types": "./dist/astro.d.ts"
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"./theme/github.css": "./dist/theme/github.css",
|
|
20
|
+
"./theme/obsidian.css": "./dist/theme/obsidian.css",
|
|
21
|
+
"./theme/vitepress.css": "./dist/theme/vitepress.css",
|
|
22
|
+
"./theme/docusaurus.css": "./dist/theme/docusaurus.css",
|
|
23
|
+
"./sanitize-schema.json": "./dist/sanitize-schema.json"
|
|
19
24
|
},
|
|
20
25
|
"files": [
|
|
21
26
|
"dist/",
|
|
@@ -23,7 +28,7 @@
|
|
|
23
28
|
"LICENSE"
|
|
24
29
|
],
|
|
25
30
|
"scripts": {
|
|
26
|
-
"build": "tsc && cp src/
|
|
31
|
+
"build": "tsc && cp src/themes/github.css dist/styles.css && mkdir -p dist/theme && cp src/themes/*.css dist/theme/ && cp src/accordion.js dist/accordion.js && cp src/sanitize-schema.json dist/sanitize-schema.json",
|
|
27
32
|
"dev": "tsc --watch",
|
|
28
33
|
"test": "node --experimental-vm-modules tests/test-exhaustive.mts",
|
|
29
34
|
"prepublishOnly": "npm run build"
|
|
@@ -46,7 +51,16 @@
|
|
|
46
51
|
"obsidian-callout",
|
|
47
52
|
"remake-blocks",
|
|
48
53
|
"security",
|
|
49
|
-
"xss-safe"
|
|
54
|
+
"xss-safe",
|
|
55
|
+
"multi-theme",
|
|
56
|
+
"obsidian-theme",
|
|
57
|
+
"vitepress-theme",
|
|
58
|
+
"docusaurus-theme",
|
|
59
|
+
"inline-callouts",
|
|
60
|
+
"directive-syntax",
|
|
61
|
+
"lucide-icons",
|
|
62
|
+
"emoji-icons",
|
|
63
|
+
"rehype-sanitize"
|
|
50
64
|
],
|
|
51
65
|
"license": "MIT",
|
|
52
66
|
"author": "dr-ishaan <adi.ishaan@proton.me>",
|