File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import type { Page } from "./page.d.ts";
9
9
export interface SetPositionOptions {
10
10
/** Whether to auto-scroll the page when the cursor moves outside the viewport
11
11
*
12
- * @default true
12
+ * @default { true}
13
13
* @type {boolean }
14
14
*/
15
15
scrollInView ?: boolean ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface OpenOptions {
17
17
* - `true`: open in a new tab
18
18
* - `false`: open in the same tab
19
19
*
20
- * @default false
20
+ * @default { false}
21
21
*/
22
22
newTab ?: boolean ;
23
23
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export interface SetPositionOptions {
5
5
/** Whether to auto-scroll the page when the cursor moves outside the viewport
6
6
* When `true`, the page will automatically scroll to keep the cursor visible
7
7
*
8
- * @default true
8
+ * @default { true}
9
9
*/
10
10
scrollInView ?: boolean ;
11
11
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export interface PinOptions extends PushOptions {
11
11
* This is useful when you want to create and pin placeholder pages
12
12
* that will be filled with content later.
13
13
*
14
- * @default false
14
+ * @default { false}
15
15
*/
16
16
create ?: boolean ;
17
17
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export interface UpdateCodeBlockOptions extends PushOptions {
21
21
* - New code content
22
22
* - Generated change commits
23
23
*
24
- * @default false
24
+ * @default { false}
25
25
*/
26
26
debug ?: boolean ;
27
27
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export interface UpdateCodeFileOptions extends PushOptions {
49
49
* This option is particularly useful when you want to ensure code blocks
50
50
* are created in a consistent location across multiple pages.
51
51
*
52
- * @default notInsert
52
+ * @default {" notInsert"}
53
53
*/
54
54
insertPositionIfNotExist ?: "top" | "bottom" | "notInsert" ;
55
55
@@ -61,7 +61,7 @@ export interface UpdateCodeFileOptions extends PushOptions {
61
61
* - Making it easier to add new content after the code block
62
62
* - Maintaining consistent spacing across all pages
63
63
*
64
- * @default true
64
+ * @default { true}
65
65
*/
66
66
isInsertEmptyLineInTail ?: boolean ;
67
67
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface BaseOptions {
20
20
* Allows overriding the default fetch behavior for testing
21
21
* or custom networking requirements.
22
22
*
23
- * @default globalThis.fetch
23
+ * @default { globalThis.fetch}
24
24
*/
25
25
fetch ?: RobustFetch ;
26
26
@@ -30,7 +30,7 @@ export interface BaseOptions {
30
30
* with self-hosted Scrapbox instances or other custom deployments that
31
31
* don't use the default scrapbox.io domain.
32
32
*
33
- * @default scrapbox.io
33
+ * @default {" scrapbox.io"}
34
34
*/
35
35
hostName ?: string ;
36
36
}
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export const getPage: GetPage = /* @__PURE__ */ (() => {
150
150
export interface ListPagesOption extends BaseOptions {
151
151
/** the sort of page list to return
152
152
*
153
- * @default updated
153
+ * @default {" updated"}
154
154
*/
155
155
sort ?:
156
156
| "updatedWithMe"
@@ -163,12 +163,12 @@ export interface ListPagesOption extends BaseOptions {
163
163
| "title" ;
164
164
/** the index getting page list from
165
165
*
166
- * @default 0
166
+ * @default {0}
167
167
*/
168
168
skip ?: number ;
169
169
/** threshold of the length of page list
170
170
*
171
- * @default 100
171
+ * @default { 100}
172
172
*/
173
173
limit ?: number ;
174
174
}
You can’t perform that action at this time.
0 commit comments