starlight-cannoli-plugins 2.0.1 → 2.0.3
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 +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Automatically generates a nested Starlight sidebar by recursively scanning direc
|
|
|
30
30
|
// astro.config.mjs
|
|
31
31
|
import { defineConfig } from "astro/config";
|
|
32
32
|
import starlight from "@astrojs/starlight";
|
|
33
|
-
import { starlightIndexOnlySidebar } from "cannoli-
|
|
33
|
+
import { starlightIndexOnlySidebar } from "starlight-cannoli-plugins";
|
|
34
34
|
|
|
35
35
|
export default defineConfig({
|
|
36
36
|
integrations: [
|
|
@@ -86,7 +86,7 @@ dvisvgm --version
|
|
|
86
86
|
// astro.config.mjs
|
|
87
87
|
import { defineConfig } from "astro/config";
|
|
88
88
|
import starlight from "@astrojs/starlight";
|
|
89
|
-
import { astroLatexCompile } from "cannoli-
|
|
89
|
+
import { astroLatexCompile } from "starlight-cannoli-plugins";
|
|
90
90
|
|
|
91
91
|
export default defineConfig({
|
|
92
92
|
integrations: [
|
|
@@ -185,7 +185,7 @@ The underlying remark plugin used by `astroLatexCompile`. Use this directly if y
|
|
|
185
185
|
```ts
|
|
186
186
|
// astro.config.mjs
|
|
187
187
|
import { defineConfig } from "astro/config";
|
|
188
|
-
import { remarkLatexCompile } from "cannoli-
|
|
188
|
+
import { remarkLatexCompile } from "starlight-cannoli-plugins/astro-latex-compile";
|
|
189
189
|
|
|
190
190
|
export default defineConfig({
|
|
191
191
|
markdown: {
|
|
@@ -216,7 +216,7 @@ A rehype plugin that validates all internal links in your Markdown/MDX files at
|
|
|
216
216
|
```ts
|
|
217
217
|
// astro.config.mjs
|
|
218
218
|
import { defineConfig } from "astro/config";
|
|
219
|
-
import { rehypeValidateLinks } from "cannoli-
|
|
219
|
+
import { rehypeValidateLinks } from "starlight-cannoli-plugins";
|
|
220
220
|
|
|
221
221
|
export default defineConfig({
|
|
222
222
|
markdown: {
|
|
@@ -228,7 +228,7 @@ export default defineConfig({
|
|
|
228
228
|
Or import directly:
|
|
229
229
|
|
|
230
230
|
```ts
|
|
231
|
-
import { rehypeValidateLinks } from "cannoli-
|
|
231
|
+
import { rehypeValidateLinks } from "starlight-cannoli-plugins/rehype-validate-links";
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
**Skipping Link Validation:**
|
|
@@ -295,7 +295,7 @@ Syncs `src/content/docs/` to `public/` so local files (e.g., PDFs, images) refer
|
|
|
295
295
|
// astro.config.mjs
|
|
296
296
|
import { defineConfig } from "astro/config";
|
|
297
297
|
import starlight from "@astrojs/starlight";
|
|
298
|
-
import { syncDocsToPublic } from "cannoli-
|
|
298
|
+
import { syncDocsToPublic } from "starlight-cannoli-plugins";
|
|
299
299
|
|
|
300
300
|
export default defineConfig({
|
|
301
301
|
integrations: [
|
|
@@ -355,19 +355,19 @@ npx cannoli-latex-cleanup --svg-dir public/static/tex-svgs --docs-dir ./src/cont
|
|
|
355
355
|
## Installation
|
|
356
356
|
|
|
357
357
|
```bash
|
|
358
|
-
npm install cannoli-
|
|
358
|
+
npm install starlight-cannoli-plugins
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
With pnpm:
|
|
362
362
|
|
|
363
363
|
```bash
|
|
364
|
-
pnpm add cannoli-
|
|
364
|
+
pnpm add starlight-cannoli-plugins
|
|
365
365
|
```
|
|
366
366
|
|
|
367
367
|
With yarn:
|
|
368
368
|
|
|
369
369
|
```bash
|
|
370
|
-
yarn add cannoli-
|
|
370
|
+
yarn add starlight-cannoli-plugins
|
|
371
371
|
```
|
|
372
372
|
|
|
373
373
|
## Peer Dependencies
|
package/package.json
CHANGED