starlight-cannoli-plugins 1.2.12 → 1.2.14
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/{chunk-W3HDFLM5.js → chunk-KQM5EAEK.js} +1 -1
- package/dist/{chunk-JZJHH56Q.js → chunk-N2EJVDP3.js} +1 -1
- package/dist/cli/cannoli-latex-cleanup.js +1 -1
- package/dist/index.js +2 -2
- package/dist/plugins/remark-latex-compile.js +2 -2
- package/dist/plugins/starlight-latex-compile.js +2 -2
- package/package.json +3 -3
|
@@ -162,7 +162,7 @@ ${formattedSource}
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
// src/plugins/remark-latex-compile/compile.ts
|
|
165
|
-
var LATEX_BLOCK_REGEX = /```(?:tex|latex)\s+compile\r?\n([\s\S]*?)\r?\n```/g;
|
|
165
|
+
var LATEX_BLOCK_REGEX = /```(?:tex|latex)\s+compile[^\r\n]*\r?\n([\s\S]*?)\r?\n```/g;
|
|
166
166
|
function hashLatexCode(code) {
|
|
167
167
|
const normalized = code.split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("%")).filter(Boolean).join("\n").trim();
|
|
168
168
|
return createHash("md5").update(normalized).digest("hex").slice(0, 16);
|
package/dist/index.js
CHANGED
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
remarkLatexCompile,
|
|
9
9
|
starlightLatexCompile
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N2EJVDP3.js";
|
|
11
11
|
import {
|
|
12
12
|
starlightSyncDocsToPublic
|
|
13
13
|
} from "./chunk-GE24XGG7.js";
|
|
14
14
|
import "./chunk-3ATSZG6H.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KQM5EAEK.js";
|
|
16
16
|
import "./chunk-QGM4M3NI.js";
|
|
17
17
|
|
|
18
18
|
// src/plugins/astro-normalize-paths.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
remarkLatexCompile,
|
|
3
3
|
starlightLatexCompile
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-N2EJVDP3.js";
|
|
5
5
|
import {
|
|
6
6
|
compileLatexToSvg
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KQM5EAEK.js";
|
|
8
8
|
import "../chunk-QGM4M3NI.js";
|
|
9
9
|
export {
|
|
10
10
|
compileLatexToSvg,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
starlightLatexCompile,
|
|
3
3
|
starlight_plugin_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-N2EJVDP3.js";
|
|
5
|
+
import "../chunk-KQM5EAEK.js";
|
|
6
6
|
import "../chunk-QGM4M3NI.js";
|
|
7
7
|
export {
|
|
8
8
|
starlight_plugin_default as default,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-cannoli-plugins",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.14",
|
|
5
5
|
"description": "Starlight plugins for automatic sidebar generation and link validation",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"eslint-cannoli-plugins": "^1.0.13",
|
|
74
|
-
"glob": "^
|
|
75
|
-
"minimatch": "^
|
|
74
|
+
"glob": "^11.0.0",
|
|
75
|
+
"minimatch": "^9.0.0",
|
|
76
76
|
"unist-util-visit": "^5.0.0",
|
|
77
77
|
"yaml": "^2.4.0"
|
|
78
78
|
},
|