@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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -0
  3. package/package.json +15 -14
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-07T20:40:47Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
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.70",
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.27",
39
- "@thi.ng/arrays": "^2.8.4",
40
- "@thi.ng/checks": "^3.5.1",
41
- "@thi.ng/defmulti": "^3.0.27",
42
- "@thi.ng/emoji": "^0.1.31",
43
- "@thi.ng/errors": "^2.4.19",
44
- "@thi.ng/hiccup": "^5.1.17",
45
- "@thi.ng/logger": "^3.0.4",
46
- "@thi.ng/parse": "^2.4.28",
47
- "@thi.ng/strings": "^3.7.19",
48
- "@thi.ng/text-canvas": "^3.0.6"
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": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
102
+ "gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
102
103
  }