starlight-cannoli-plugins 1.2.12 → 1.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.
@@ -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);
@@ -2,7 +2,7 @@ import {
2
2
  LATEX_BLOCK_REGEX,
3
3
  compileLatexToSvg,
4
4
  hashLatexCode
5
- } from "./chunk-W3HDFLM5.js";
5
+ } from "./chunk-KQM5EAEK.js";
6
6
 
7
7
  // src/plugins/remark-latex-compile/index.ts
8
8
  import { resolve } from "path";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  LATEX_BLOCK_REGEX,
4
4
  hashLatexCode
5
- } from "../chunk-W3HDFLM5.js";
5
+ } from "../chunk-KQM5EAEK.js";
6
6
  import "../chunk-QGM4M3NI.js";
7
7
 
8
8
  // scripts/cli/cannoli-latex-cleanup.ts
package/dist/index.js CHANGED
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  remarkLatexCompile,
9
9
  starlightLatexCompile
10
- } from "./chunk-JZJHH56Q.js";
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-W3HDFLM5.js";
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-JZJHH56Q.js";
4
+ } from "../chunk-N2EJVDP3.js";
5
5
  import {
6
6
  compileLatexToSvg
7
- } from "../chunk-W3HDFLM5.js";
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-JZJHH56Q.js";
5
- import "../chunk-W3HDFLM5.js";
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.12",
4
+ "version": "1.2.13",
5
5
  "description": "Starlight plugins for automatic sidebar generation and link validation",
6
6
  "license": "ISC",
7
7
  "main": "./dist/index.js",