@hagicode/hagilight-core 0.8.1-dev.95.1.7e01c25 → 0.8.1-dev.96.1.d42dd0f

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/README.md CHANGED
@@ -8,7 +8,7 @@ Shared Astro components, TypeScript utilities, and brand assets for HagiCode sit
8
8
  npm install @hagicode/hagilight-core astro
9
9
  ```
10
10
 
11
- Use a supported Astro version (`^6.0.7 || ^7.3.5`). The other Hagilight packages install core automatically; install it directly if your site imports core entry points.
11
+ Use a supported Astro version (`>=7`). The other Hagilight packages install core automatically; install it directly if your site imports core entry points.
12
12
 
13
13
  ## Use
14
14
 
@@ -92,7 +92,7 @@ export interface UnifiedFileLike {
92
92
  path?: unknown;
93
93
  data?: LocalImageData;
94
94
  }
95
- /** Unified rehype plugin: `unified` processors and Astro 6 `markdown.rehypePlugins`. */
95
+ /** Unified rehype plugin for sites whose `markdown.processor` is `unified()`. */
96
96
  export declare function rehypeContentImages(options?: ContentImageOptions, picture?: PictureStep): (tree: ContentImageNode, file?: UnifiedFileLike) => void;
97
97
  /** Sätteri hast plugin: Astro's default Markdown processor, through `hastPlugins`. */
98
98
  export declare function satteriContentImages(options?: ContentImageOptions, picture?: PictureStep): SatteriContentImagePlugin;
@@ -124,7 +124,7 @@ function wrapUnifiedPictures(node, inPicture, srcOf, nextIndex) {
124
124
  wrapUnifiedPictures(child, inPicture || isPicture(child), srcOf, nextIndex);
125
125
  });
126
126
  }
127
- /** Unified rehype plugin: `unified` processors and Astro 6 `markdown.rehypePlugins`. */
127
+ /** Unified rehype plugin for sites whose `markdown.processor` is `unified()`. */
128
128
  export function rehypeContentImages(options = {}, picture = { enabled: true }) {
129
129
  const resolved = resolveContentImageOptions(options);
130
130
  let pictureCount = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-core",
3
- "version": "0.8.1-dev.95.1.7e01c25",
3
+ "version": "0.8.1-dev.96.1.d42dd0f",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript utilities, components, and assets for HagiCode Astro and Starlight sites",
6
6
  "repository": {