siyuan 0.9.8 → 0.9.9

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 CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ## v0.9.9 2024-05
3
+ ## v1.0.0 2024-05
4
+
5
+ ## v0.9.9 2024-05-14
6
+
7
+ * Update Config.d.ts
8
+ * [Update plugin `loaded-protyle-dynamic` parameter positon to position](https://github.com/siyuan-note/siyuan/pull/11298)
4
9
 
5
10
  ## v0.9.8 2024-04-30
6
11
 
package/package.json CHANGED
@@ -12,6 +12,6 @@
12
12
  "README.md",
13
13
  "siyuan.d.ts"
14
14
  ],
15
- "version": "0.9.8",
15
+ "version": "0.9.9",
16
16
  "repository": "https://github.com/siyuan-note/petal"
17
17
  }
package/siyuan.d.ts CHANGED
@@ -139,7 +139,7 @@ export interface IEventBusMap {
139
139
  };
140
140
  "loaded-protyle-dynamic": {
141
141
  protyle: IProtyle,
142
- positon: "afterend" | "beforebegin",
142
+ position: "afterend" | "beforebegin",
143
143
  };
144
144
  "loaded-protyle-static": {
145
145
  protyle: IProtyle,
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
- autoLaunch: boolean;
1365
+ autoLaunch2: number;
1328
1366
  /**
1329
1367
  * The absolute path of the `conf` directory of the current workspace
1330
1368
  */