markdown-to-html-cli 3.4.6 → 3.4.7
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @uiw/github-corners@1.5.
|
|
2
|
+
* @uiw/github-corners@1.5.14
|
|
3
3
|
* https://github.com/uiwjs/react-github-corners
|
|
4
4
|
*/
|
|
5
5
|
const scriptString = `const GITHUB_CORNERS_TEMPLATE = document.createElement("template");
|
|
@@ -15,8 +15,9 @@ GITHUB_CORNERS_TEMPLATE.innerHTML = \`
|
|
|
15
15
|
:host a:hover .octo-arm { animation: none; }
|
|
16
16
|
:host .octo-arm { animation: octocat-wave 560ms ease-in-out; }
|
|
17
17
|
}
|
|
18
|
+
:host svg { z-index: 99; position: fixed; border: 0px; top: 0px; }
|
|
18
19
|
</style>
|
|
19
|
-
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"
|
|
20
|
+
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true">
|
|
20
21
|
<a xlink:href="https://github.com/uiwjs/react-github-corners" target="_blank" rel="nofollow sponsored" style="fill: rgb(21, 21, 19); color: rgb(255, 255, 255);">
|
|
21
22
|
<g>
|
|
22
23
|
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
|
|
@@ -35,7 +36,7 @@ export class GithubCorners extends HTMLElement {
|
|
|
35
36
|
this.update();
|
|
36
37
|
}
|
|
37
38
|
static get observedAttributes() {
|
|
38
|
-
return ['z-index', 'target', 'height', 'width', 'href', 'color', 'fill', 'position', 'top', 'left', 'right', 'bottom', 'transform'];
|
|
39
|
+
return ['style', 'z-index', 'target', 'height', 'width', 'href', 'color', 'fill', 'position', 'top', 'left', 'right', 'bottom', 'transform'];
|
|
39
40
|
}
|
|
40
41
|
setAttr(name, value) {
|
|
41
42
|
const svg = this.shadow.querySelector('svg');
|
|
@@ -45,7 +46,7 @@ export class GithubCorners extends HTMLElement {
|
|
|
45
46
|
else if (/(color|fill)/.test(name.toLocaleLowerCase())) {
|
|
46
47
|
svg.firstElementChild.style[name] = value;
|
|
47
48
|
}
|
|
48
|
-
else if (/(z-index|
|
|
49
|
+
else if (/(z-index|position|top|left|right|bottom|transform)/.test(name.toLocaleLowerCase())) {
|
|
49
50
|
svg.style[name] = value;
|
|
50
51
|
}
|
|
51
52
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-corners.js","sourceRoot":"","sources":["../../src/nodes/github-corners.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"github-corners.js","sourceRoot":"","sources":["../../src/nodes/github-corners.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAgEmC,CAAC;AAEzD,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;YACE,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,gBAAgB;YACzB,UAAU,EAAE;gBACV,MAAM,EAAE,SAAS;gBACjB,QAAQ,EAAE,OAAO;gBACjB,SAAS,EAAE,GAAG;gBACd,IAAI;aACL;YACD,QAAQ,EAAE,EAAE;SACb,EAAE;YACD,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;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-to-html-cli",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@types/fs-extra": "~9.0.13",
|
|
41
41
|
"@types/minimist": "~1.2.2",
|
|
42
|
-
"@uiw/github-corners": "~1.5.
|
|
42
|
+
"@uiw/github-corners": "~1.5.14",
|
|
43
43
|
"@wcj/markdown-style": "~1.0.8",
|
|
44
44
|
"@wcj/markdown-to-html": "~2.0.3",
|
|
45
45
|
"fs-extra": "~10.0.0",
|
|
@@ -5,7 +5,7 @@ interface GithubCorners {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* @uiw/github-corners@1.5.
|
|
8
|
+
* @uiw/github-corners@1.5.14
|
|
9
9
|
* https://github.com/uiwjs/react-github-corners
|
|
10
10
|
*/
|
|
11
11
|
const scriptString = `const GITHUB_CORNERS_TEMPLATE = document.createElement("template");
|
|
@@ -21,8 +21,9 @@ GITHUB_CORNERS_TEMPLATE.innerHTML = \`
|
|
|
21
21
|
:host a:hover .octo-arm { animation: none; }
|
|
22
22
|
:host .octo-arm { animation: octocat-wave 560ms ease-in-out; }
|
|
23
23
|
}
|
|
24
|
+
:host svg { z-index: 99; position: fixed; border: 0px; top: 0px; }
|
|
24
25
|
</style>
|
|
25
|
-
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"
|
|
26
|
+
<svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true">
|
|
26
27
|
<a xlink:href="https://github.com/uiwjs/react-github-corners" target="_blank" rel="nofollow sponsored" style="fill: rgb(21, 21, 19); color: rgb(255, 255, 255);">
|
|
27
28
|
<g>
|
|
28
29
|
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
|
|
@@ -41,7 +42,7 @@ export class GithubCorners extends HTMLElement {
|
|
|
41
42
|
this.update();
|
|
42
43
|
}
|
|
43
44
|
static get observedAttributes() {
|
|
44
|
-
return ['z-index', 'target', 'height', 'width', 'href', 'color', 'fill', 'position', 'top', 'left', 'right', 'bottom', 'transform'];
|
|
45
|
+
return ['style', 'z-index', 'target', 'height', 'width', 'href', 'color', 'fill', 'position', 'top', 'left', 'right', 'bottom', 'transform'];
|
|
45
46
|
}
|
|
46
47
|
setAttr(name, value) {
|
|
47
48
|
const svg = this.shadow.querySelector('svg');
|
|
@@ -51,7 +52,7 @@ export class GithubCorners extends HTMLElement {
|
|
|
51
52
|
else if (/(color|fill)/.test(name.toLocaleLowerCase())) {
|
|
52
53
|
svg.firstElementChild.style[name] = value;
|
|
53
54
|
}
|
|
54
|
-
else if (/(z-index|
|
|
55
|
+
else if (/(z-index|position|top|left|right|bottom|transform)/.test(name.toLocaleLowerCase())) {
|
|
55
56
|
svg.style[name] = value;
|
|
56
57
|
}
|
|
57
58
|
else {
|