starlight-cannoli-plugins 2.2.0 → 2.3.0
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/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import 'vfile';
|
|
|
11
11
|
import 'mdast';
|
|
12
12
|
|
|
13
13
|
interface DomPatchesOptions {
|
|
14
|
-
/** Hide line number gutters on single-line code blocks. @default
|
|
14
|
+
/** Hide line number gutters on single-line code blocks. @default false */
|
|
15
15
|
hideSingleLineGutters?: boolean;
|
|
16
|
-
/** Wrap `<details>` content (excluding `<summary>`) in a `.details-wrapper` div. @default
|
|
16
|
+
/** Wrap `<details>` content (excluding `<summary>`) in a `.details-wrapper` div. @default false */
|
|
17
17
|
wrapDetailsContent?: boolean;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import "./chunk-QGM4M3NI.js";
|
|
|
19
19
|
// src/plugins/starlight-dom-patches/index.ts
|
|
20
20
|
import { fileURLToPath } from "url";
|
|
21
21
|
function starlightDomPatches(options = {}) {
|
|
22
|
-
const { hideSingleLineGutters =
|
|
22
|
+
const { hideSingleLineGutters = false, wrapDetailsContent = false } = options;
|
|
23
23
|
return {
|
|
24
24
|
name: "starlight-dom-patches",
|
|
25
25
|
hooks: {
|
package/package.json
CHANGED