@thi.ng/hiccup-markdown 3.2.70 → 3.2.72
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/CHANGELOG.md +1 -1
- package/README.md +2 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -297,6 +297,8 @@ defaults/outputs.
|
|
|
297
297
|
Example with custom link elements:
|
|
298
298
|
|
|
299
299
|
```ts
|
|
300
|
+
import { parse, type TagTransforms } from "@thi.ng/hiccup-markdown";
|
|
301
|
+
|
|
300
302
|
const tags: Partial<TagTransforms> = {
|
|
301
303
|
link: (ctx, href, body) => ["a.link.blue", { href }, ...body]
|
|
302
304
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hiccup-markdown",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.72",
|
|
4
4
|
"description": "Markdown parser & serializer from/to Hiccup format",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -32,20 +32,21 @@
|
|
|
32
32
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
33
33
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
34
34
|
"pub": "yarn npm publish --access public",
|
|
35
|
-
"test": "bun test"
|
|
35
|
+
"test": "bun test",
|
|
36
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.9.
|
|
39
|
-
"@thi.ng/arrays": "^2.8.
|
|
40
|
-
"@thi.ng/checks": "^3.5.
|
|
41
|
-
"@thi.ng/defmulti": "^3.0.
|
|
42
|
-
"@thi.ng/emoji": "^0.1.
|
|
43
|
-
"@thi.ng/errors": "^2.4.
|
|
44
|
-
"@thi.ng/hiccup": "^5.1.
|
|
45
|
-
"@thi.ng/logger": "^3.0.
|
|
46
|
-
"@thi.ng/parse": "^2.4.
|
|
47
|
-
"@thi.ng/strings": "^3.7.
|
|
48
|
-
"@thi.ng/text-canvas": "^3.0.
|
|
39
|
+
"@thi.ng/api": "^8.9.28",
|
|
40
|
+
"@thi.ng/arrays": "^2.8.6",
|
|
41
|
+
"@thi.ng/checks": "^3.5.2",
|
|
42
|
+
"@thi.ng/defmulti": "^3.0.29",
|
|
43
|
+
"@thi.ng/emoji": "^0.1.32",
|
|
44
|
+
"@thi.ng/errors": "^2.4.20",
|
|
45
|
+
"@thi.ng/hiccup": "^5.1.19",
|
|
46
|
+
"@thi.ng/logger": "^3.0.5",
|
|
47
|
+
"@thi.ng/parse": "^2.4.30",
|
|
48
|
+
"@thi.ng/strings": "^3.7.21",
|
|
49
|
+
"@thi.ng/text-canvas": "^3.0.8"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
52
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -98,5 +99,5 @@
|
|
|
98
99
|
],
|
|
99
100
|
"year": 2018
|
|
100
101
|
},
|
|
101
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
|
|
102
103
|
}
|