siyuan 0.9.8 → 1.0.2
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/CHANGELOG.md +10 -1
- package/package.json +5 -2
- package/siyuan.d.ts +1 -1
- package/types/config.d.ts +40 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## v1.0.3 2024-06
|
|
4
|
+
|
|
5
|
+
## v1.0.2 2024-06-04
|
|
6
|
+
|
|
7
|
+
* [Add `dialog` object to `Setting` property](https://github.com/siyuan-note/petal/issues/28)
|
|
8
|
+
|
|
9
|
+
## v0.9.9 2024-05-14
|
|
10
|
+
|
|
11
|
+
* Update Config.d.ts
|
|
12
|
+
* [Update plugin `loaded-protyle-dynamic` parameter positon to position](https://github.com/siyuan-note/siyuan/pull/11298)
|
|
4
13
|
|
|
5
14
|
## v0.9.8 2024-04-30
|
|
6
15
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
package/types/config.d.ts
CHANGED
|
@@ -265,7 +265,7 @@ export namespace Config {
|
|
|
265
265
|
* User interface language
|
|
266
266
|
* Same as {@link IAppearance.lang}
|
|
267
267
|
*/
|
|
268
|
-
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN";
|
|
268
|
+
export type TLang = "en_US" | "es_ES" | "fr_FR" | "zh_CHT" | "zh_CN" | "ja_JP";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* SiYuan bazaar related configuration
|
|
@@ -281,10 +281,43 @@ export namespace Config {
|
|
|
281
281
|
trust: boolean;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
+
/**
|
|
285
|
+
* SiYuan editor markdown related configuration
|
|
286
|
+
*/
|
|
287
|
+
interface IMarkdown {
|
|
288
|
+
/**
|
|
289
|
+
* Whether to enable the inline superscript
|
|
290
|
+
*/
|
|
291
|
+
inlineSup: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* Whether to enable the inline subscript
|
|
294
|
+
*/
|
|
295
|
+
inlineSub: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Whether to enable the inline tag
|
|
298
|
+
*/
|
|
299
|
+
inlineTag: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Whether to enable the inline math
|
|
302
|
+
*/
|
|
303
|
+
inlineMath: boolean;
|
|
304
|
+
}
|
|
305
|
+
|
|
284
306
|
/**
|
|
285
307
|
* SiYuan editor related configuration
|
|
286
308
|
*/
|
|
287
309
|
export interface IEditor {
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Whether to allow to execute javascript in the HTML block
|
|
313
|
+
*/
|
|
314
|
+
allowHTMLBLockScript: boolean;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Markdown configuration
|
|
318
|
+
*/
|
|
319
|
+
markdown: IMarkdown;
|
|
320
|
+
|
|
288
321
|
/**
|
|
289
322
|
* The default number of backlinks to expand
|
|
290
323
|
*/
|
|
@@ -538,6 +571,8 @@ export namespace Config {
|
|
|
538
571
|
* The storage path of the new document created using block references
|
|
539
572
|
*/
|
|
540
573
|
refCreateSavePath: string;
|
|
574
|
+
refCreateSaveBox: string;
|
|
575
|
+
docCreateSaveBox: string;
|
|
541
576
|
/**
|
|
542
577
|
* Close the secondary confirmation when deleting a document
|
|
543
578
|
*/
|
|
@@ -1323,8 +1358,11 @@ export namespace Config {
|
|
|
1323
1358
|
appDir: string;
|
|
1324
1359
|
/**
|
|
1325
1360
|
* Boot automatically
|
|
1361
|
+
* - `0`: Do not boot automatically
|
|
1362
|
+
* - `1`: Boot automatically
|
|
1363
|
+
* - `2`: Boot automatically + Minimize UI
|
|
1326
1364
|
*/
|
|
1327
|
-
|
|
1365
|
+
autoLaunch2: number;
|
|
1328
1366
|
/**
|
|
1329
1367
|
* The absolute path of the `conf` directory of the current workspace
|
|
1330
1368
|
*/
|