@rspress/plugin-medium-zoom 1.40.2 → 1.41.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -222,6 +222,11 @@ declare type LocalSearchOptions = SearchHooks & {
222
222
  * Whether to generate separate search index for each version
223
223
  */
224
224
  versioned?: boolean;
225
+ /**
226
+ * If enabled, the search index will include code block content, which allows users to search code blocks.
227
+ * @default false
228
+ */
229
+ codeBlocks?: boolean;
225
230
  };
226
231
 
227
232
  declare interface MarkdownOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-medium-zoom",
3
- "version": "1.40.2",
3
+ "version": "1.41.0",
4
4
  "description": "A plugin for rspress to zoom images in docs.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -27,19 +27,19 @@
27
27
  "medium-zoom": "1.1.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@microsoft/api-extractor": "^7.49.1",
31
- "@modern-js/tsconfig": "2.63.7",
32
- "@rslib/core": "0.3.2",
30
+ "@microsoft/api-extractor": "^7.49.2",
31
+ "@modern-js/tsconfig": "2.64.0",
32
+ "@rslib/core": "0.4.0",
33
33
  "@types/node": "^18.11.17",
34
34
  "@types/react": "^18.3.18",
35
35
  "@types/react-dom": "^18.3.5",
36
36
  "react": "^18.3.1",
37
37
  "typescript": "^5.5.3",
38
- "vitest": "2.1.8",
39
- "@rspress/shared": "1.40.2"
38
+ "vitest": "2.1.9",
39
+ "@rspress/shared": "1.41.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@rspress/runtime": "^1.40.2"
42
+ "@rspress/runtime": "^1.41.0"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=14.17.6"