markdown-to-html-cli 3.2.10 → 3.2.13

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-style.js","sourceRoot":"","sources":["../../src/nodes/markdown-style.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAs/BpB,CAAA;AAED,MAAM,UAAU,aAAa,CAAC,KAAuB;IACnD,OAAO,CAAC;YACN,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,uDAAuD;aACxD;YACD,QAAQ,EAAE,CAAC;oBACT,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,YAAY;iBACpB,CAAC;SACH,EAAE;YACD,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,UAAU,EAAE;gBACV,KAAK,EAAE,6DAA6D;aACrE;YACD,QAAQ,EAAE,CAAC;oBACT,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,gBAAgB;oBACzB,QAAQ,EAAE,KAAK;iBAChB,CAAC;SACH,CAAC,CAAA;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-to-html-cli",
3
- "version": "3.2.10",
3
+ "version": "3.2.13",
4
4
  "license": "MIT",
5
5
  "description": "Command line tool generates markdown as html.",
6
6
  "homepage": "https://jaywcjlove.github.io/markdown-to-html-cli",
@@ -38,27 +38,19 @@
38
38
  "github.css"
39
39
  ],
40
40
  "dependencies": {
41
- "@mapbox/rehype-prism": "~0.8.0",
42
41
  "@types/fs-extra": "~9.0.13",
43
42
  "@types/minimist": "~1.2.2",
43
+ "@uiw/github-corners": "~1.5.10",
44
+ "@wcj/markdown-style": "~1.0.1",
45
+ "@wcj/markdown-to-html": "~2.0.0",
44
46
  "fs-extra": "~10.0.0",
45
47
  "minimist": "~1.2.5",
46
- "rehype-attr": "~2.0.7",
47
48
  "rehype-autolink-headings": "~6.1.0",
48
49
  "rehype-document": "~6.0.1",
49
50
  "rehype-format": "~4.0.1",
50
- "rehype-meta": "~3.2.0",
51
- "rehype-raw": "~6.1.0",
52
- "rehype-rewrite": "~3.0.4",
51
+ "rehype-prism-plus": "~1.3.2",
53
52
  "rehype-slug": "~5.0.0",
54
- "rehype-stringify": "~9.0.2",
55
53
  "rehype-urls": "~1.1.1",
56
- "rehype-video": "~1.1.1",
57
- "rehype-wrap": "~1.0.10",
58
- "remark-gemoji": "~7.0.1",
59
- "remark-gfm": "~3.0.1",
60
- "remark-parse": "~10.0.1",
61
- "remark-rehype": "~10.1.0",
62
- "unified": "~10.1.1"
54
+ "remark-gemoji": "~7.0.1"
63
55
  }
64
56
  }
@@ -1,59 +0,0 @@
1
- export function githubCorners(opts) {
2
- const { href } = opts;
3
- if (!href) {
4
- return;
5
- }
6
- return {
7
- type: 'element',
8
- tagName: 'a',
9
- properties: {
10
- 'aria-label': 'View source on GitHub',
11
- target: '__blank',
12
- className: 'github-corner',
13
- href,
14
- },
15
- children: [
16
- {
17
- type: 'element',
18
- tagName: 'svg',
19
- properties: {
20
- width: '54',
21
- height: '54',
22
- viewBox: '0 0 250 250',
23
- 'aria-hidden': 'true',
24
- style: 'fill: rgb(32, 34, 37); color: rgb(255, 255, 255); position: fixed; z-index: 99999; border: 0px; top: 0px; right: 0px;'
25
- },
26
- children: [
27
- {
28
- type: 'element',
29
- tagName: 'path',
30
- properties: {
31
- d: 'M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z'
32
- },
33
- children: [],
34
- }, {
35
- type: 'element',
36
- tagName: 'path',
37
- children: [],
38
- properties: {
39
- style: 'transform-origin: 130px 106px;',
40
- className: 'octo-arm',
41
- fill: 'currentColor',
42
- d: 'M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2'
43
- }
44
- }, {
45
- type: 'element',
46
- tagName: 'path',
47
- children: [],
48
- properties: {
49
- className: 'octo-body',
50
- fill: 'currentColor',
51
- d: 'M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z'
52
- }
53
- }
54
- ]
55
- }
56
- ]
57
- };
58
- }
59
- //# sourceMappingURL=githubCorners.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"githubCorners.js","sourceRoot":"","sources":["../../src/nodes/githubCorners.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,aAAa,CAAC,IAAmB;IAC/C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,IAAI,EAAE;QACT,OAAO;KACR;IACD,OAAO;QACL,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE;YACV,YAAY,EAAE,uBAAuB;YACrC,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,eAAe;YAC1B,IAAI;SACL;QACD,QAAQ,EAAE;YACR;gBACE,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,aAAa;oBACtB,aAAa,EAAE,MAAM;oBACrB,KAAK,EAAE,uHAAuH;iBAC/H;gBACD,QAAQ,EAAE;oBACR;wBACE,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,MAAM;wBACf,UAAU,EAAE;4BACV,CAAC,EAAE,mDAAmD;yBACvD;wBACD,QAAQ,EAAE,EAAE;qBACb,EAAE;wBACD,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,MAAM;wBACf,QAAQ,EAAE,EAAE;wBACZ,UAAU,EAAE;4BACV,KAAK,EAAE,gCAAgC;4BACvC,SAAS,EAAE,UAAU;4BACrB,IAAI,EAAE,cAAc;4BACpB,CAAC,EAAE,0LAA0L;yBAC9L;qBACF,EAAE;wBACD,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,MAAM;wBACf,QAAQ,EAAE,EAAE;wBACZ,UAAU,EAAE;4BACV,SAAS,EAAE,WAAW;4BACtB,IAAI,EAAE,cAAc;4BACpB,CAAC,EAAE,qhBAAqhB;yBACzhB;qBACF;iBACF;aACF;SACF;KACF,CAAA;AACH,CAAC"}
@@ -1,20 +0,0 @@
1
- export function githubCornersFork(opts) {
2
- const { href } = opts;
3
- if (!href) {
4
- return;
5
- }
6
- return {
7
- type: 'element',
8
- tagName: 'a',
9
- properties: {
10
- 'aria-label': 'Fork me on Github',
11
- title: 'Fork me on GitHub',
12
- target: '__blank',
13
- className: 'github-fork-ribbon',
14
- 'data-ribbon': 'Fork me on GitHub',
15
- href,
16
- },
17
- children: []
18
- };
19
- }
20
- //# sourceMappingURL=githubCornersFork.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"githubCornersFork.js","sourceRoot":"","sources":["../../src/nodes/githubCornersFork.ts"],"names":[],"mappings":"AAMA,MAAM,UAAU,iBAAiB,CAAC,IAAmB;IACnD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,IAAI,EAAE;QACT,OAAO;KACR;IACD,OAAO;QACL,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,GAAG;QACZ,UAAU,EAAE;YACV,YAAY,EAAE,mBAAmB;YACjC,KAAK,EAAE,mBAAmB;YAC1B,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,oBAAoB;YAC/B,aAAa,EAAE,mBAAmB;YAClC,IAAI;SACL;QACD,QAAQ,EAAE,EAAE;KACb,CAAA;AACH,CAAC"}