From addf9f11cefad59b7a748500474973bfbddfc28e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 17 Mar 2024 20:43:15 +0800 Subject: [PATCH] :memo: Add extend development chapter to user guide https://github.com/siyuan-note/siyuan/issues/10615 --- .../20210808180117-6v0mkxr/.siyuan/sort.json | 2 +- .../20200924100110-vcg96wy.sy | 6 +- .../20200924093441-ft2rhps.sy | 6 +- .../20240317202444-5txwumu.sy | 539 ++++++++++++++++++ .../20210808180117-czj9bvb/.siyuan/sort.json | 2 +- .../20200825162036-4dx365o.sy | 6 +- .../20200922101913-d5yitmq.sy | 6 +- .../20240317200013-fim8wm8.sy | 524 +++++++++++++++++ .../20211226090932-5lcq56f/.siyuan/sort.json | 2 +- .../20211226121319-emrk2yy.sy | 7 +- .../20240317202230-l8duv3r.sy | 530 +++++++++++++++++ 11 files changed, 1607 insertions(+), 23 deletions(-) create mode 100644 app/guide/20210808180117-6v0mkxr/20240317202444-5txwumu.sy create mode 100644 app/guide/20210808180117-czj9bvb/20240317200013-fim8wm8.sy create mode 100644 app/guide/20211226090932-5lcq56f/20240317202230-l8duv3r.sy diff --git a/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json b/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json index 37ef34d58..a61e32b0b 100644 --- a/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json +++ b/app/guide/20210808180117-6v0mkxr/.siyuan/sort.json @@ -1 +1 @@ -{"20200923234011-ieuun1p":1,"20200923234602-gy54e67":7,"20200923234731-h3zkwm2":3,"20200924093441-ft2rhps":1,"20200924095938-a9p5450":2,"20200924100110-vcg96wy":1,"20200924100635-ms0p9lb":6,"20200924100717-yzwzn64":21,"20200924100744-br924ar":10,"20200924100808-j9sddk9":2,"20200924100906-0u4zfq3":4,"20200924100950-9op5xi1":18,"20200924101106-19z4kaa":1,"20200924101200-gss5vee":4,"20200924101225-k254i8g":2,"20200924101256-f8b1sbi":3,"20201004194026-s8h2cog":19,"20201117112518-dott91x":6,"20201121224345-rc27qvo":8,"20201204184532-3qm9l8n":11,"20201210233038-3xr19g5":5,"20201222100222-q47d64s":3,"20201222100339-i5hzcph":2,"20201227201128-m1wrouw":20,"20201227201751-gv0fpx2":22,"20210110181011-fbhoesf":5,"20210117215840-jcl17fx":4,"20210127203829-qe2mzof":12,"20210331201142-4g923es":14,"20210505164949-c085p1d":3,"20210613191509-cbkxcbz":7,"20210615213222-vs5tzbd":15,"20210721112159-9p645xm":1,"20210721112206-mhr9wxi":2,"20210721160238-yvhbh0h":4,"20210808180303-6yi0dv5":1,"20210808180303-axh6q1d":4,"20210808180303-h361q1i":2,"20210808180303-l3qg72k":3,"20210808180303-xaduj2o":5,"20210824202056-udkf7wg":8,"20211010212318-3wx2kqb":13,"20220105101227-n5zpr1a":6,"20220415232231-pqcizol":1,"20220628204454-hhxohv5":2,"20220708103401-mgydrfg":3,"20221016204105-qx2aq0g":3,"20221223221636-ms2b4w9":16,"20230104152135-1iei0xa":23,"20230106104821-9nfphwm":1,"20230304000547-ibldj1z":17,"20230405172236-pg3l9eu":6,"20230429115711-ejbts4s":5,"20230506205948-yah52eb":9,"20230802114825-2jkkct7":5,"20230805231614-vqn28eh":7,"20230805231816-h1z9mpc":2,"20230805232018-hgrq0ju":1,"20230805232134-3d6mx2k":2,"20240113110040-7sgw8kl":2,"20240119211017-1vbbt95":4,"20240119212048-0huuevw":5,"20240208172514-9dsv6na":7} \ No newline at end of file +{"20200923234011-ieuun1p":1,"20200923234602-gy54e67":8,"20200923234731-h3zkwm2":3,"20200924093441-ft2rhps":1,"20200924095938-a9p5450":2,"20200924100110-vcg96wy":1,"20200924100635-ms0p9lb":6,"20200924100717-yzwzn64":21,"20200924100744-br924ar":10,"20200924100808-j9sddk9":2,"20200924100906-0u4zfq3":4,"20200924100950-9op5xi1":18,"20200924101106-19z4kaa":1,"20200924101200-gss5vee":4,"20200924101225-k254i8g":2,"20200924101256-f8b1sbi":3,"20201004194026-s8h2cog":19,"20201117112518-dott91x":6,"20201121224345-rc27qvo":9,"20201204184532-3qm9l8n":11,"20201210233038-3xr19g5":5,"20201222100222-q47d64s":3,"20201222100339-i5hzcph":2,"20201227201128-m1wrouw":20,"20201227201751-gv0fpx2":22,"20210110181011-fbhoesf":5,"20210117215840-jcl17fx":4,"20210127203829-qe2mzof":12,"20210331201142-4g923es":14,"20210505164949-c085p1d":3,"20210613191509-cbkxcbz":7,"20210615213222-vs5tzbd":15,"20210721112159-9p645xm":1,"20210721112206-mhr9wxi":2,"20210721160238-yvhbh0h":4,"20210808180303-6yi0dv5":1,"20210808180303-axh6q1d":4,"20210808180303-h361q1i":2,"20210808180303-l3qg72k":3,"20210808180303-xaduj2o":5,"20210824202056-udkf7wg":8,"20211010212318-3wx2kqb":13,"20220105101227-n5zpr1a":6,"20220415232231-pqcizol":1,"20220628204454-hhxohv5":2,"20220708103401-mgydrfg":3,"20221016204105-qx2aq0g":3,"20221223221636-ms2b4w9":16,"20230104152135-1iei0xa":23,"20230106104821-9nfphwm":1,"20230304000547-ibldj1z":17,"20230405172236-pg3l9eu":6,"20230429115711-ejbts4s":5,"20230506205948-yah52eb":9,"20230802114825-2jkkct7":5,"20230805231614-vqn28eh":7,"20230805231816-h1z9mpc":2,"20230805232018-hgrq0ju":1,"20230805232134-3d6mx2k":2,"20240113110040-7sgw8kl":2,"20240119211017-1vbbt95":4,"20240119212048-0huuevw":5,"20240208172514-9dsv6na":7,"20240317202444-5txwumu":7} \ No newline at end of file diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy index 2230d184c..2fdd91111 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy @@ -1026,8 +1026,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } @@ -1086,8 +1085,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy index 844b6614c..3153f7a1d 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy @@ -173,8 +173,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } @@ -493,8 +492,7 @@ "TextMarkInlineMathContent": "a^2 + b^2 = \\color{red}c^2" }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } diff --git a/app/guide/20210808180117-6v0mkxr/20240317202444-5txwumu.sy b/app/guide/20210808180117-6v0mkxr/20240317202444-5txwumu.sy new file mode 100644 index 000000000..350208fa8 --- /dev/null +++ b/app/guide/20210808180117-6v0mkxr/20240317202444-5txwumu.sy @@ -0,0 +1,539 @@ +{ + "ID": "20240317202444-5txwumu", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f9d1-200d-1f4bb", + "id": "20240317202444-5txwumu", + "title": "Extend development", + "type": "doc", + "updated": "20240317202840" + }, + "Children": [ + { + "ID": "20240317202544-xj5ch3g", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202544-xj5ch3g", + "updated": "20240317202645" + }, + "Children": [ + { + "ID": "20240317202544-c5z54x1", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-c5z54x1", + "updated": "20240317202620" + }, + "Children": [ + { + "ID": "20240317202544-0hekcrm", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-0hekcrm", + "updated": "20240317202620" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20200924095938-a9p5450", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Theme" + }, + { + "Type": "NodeText", + "Data": " Sample project github repo: siyuan-note/theme-sample" + } + ] + } + ] + }, + { + "ID": "20240317202544-b8jcmff", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-b8jcmff", + "updated": "20240317202612" + }, + "Children": [ + { + "ID": "20240317202544-v0hh22d", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-v0hh22d", + "updated": "20240317202612" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20200924100110-vcg96wy", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Icon" + }, + { + "Type": "NodeText", + "Data": " Sample project github repo: siyuan-note/icon-sample" + } + ] + } + ] + }, + { + "ID": "20240317202544-umh6dog", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-umh6dog", + "updated": "20240317202632" + }, + "Children": [ + { + "ID": "20240317202544-8f0b1zo", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-8f0b1zo", + "updated": "20240317202632" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20210824202056-udkf7wg", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Widget" + }, + { + "Type": "NodeText", + "Data": " Sample project github repo: siyuan-note/widget-sample" + } + ] + } + ] + }, + { + "ID": "20240317202544-avlrd3r", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-avlrd3r", + "updated": "20240317202639" + }, + "Children": [ + { + "ID": "20240317202544-w7tf3lc", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-w7tf3lc", + "updated": "20240317202639" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20230506205948-yah52eb", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Plugin" + }, + { + "Type": "NodeText", + "Data": " Sample project github repo: siyuan-note/plugin-sample" + } + ] + } + ] + }, + { + "ID": "20240317202544-fcp6rlc", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-fcp6rlc", + "updated": "20240317202645" + }, + "Children": [ + { + "ID": "20240317202544-5enqxgk", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-5enqxgk", + "updated": "20240317202645" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20201204184532-3qm9l8n", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "Template" + }, + { + "Type": "NodeText", + "Data": " Sample project github repo: siyuan-note/template-sample" + } + ] + } + ] + }, + { + "ID": "20240317202544-g1fapz8", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-g1fapz8", + "updated": "20240317202552" + }, + "Children": [ + { + "ID": "20240317202544-eztxfoj", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-eztxfoj", + "updated": "20240317202552" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Marketplace github repo: siyuan-note/bazaar" + } + ] + } + ] + }, + { + "ID": "20240317202544-qdnea4l", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202544-qdnea4l", + "updated": "20240317202544" + }, + "Children": [ + { + "ID": "20240317202544-qkqfisa", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202544-qkqfisa", + "updated": "20240317202544" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://docs.siyuan-note.club/", + "TextMarkTextContent": "Community Developer Resources" + } + ] + } + ] + } + ] + }, + { + "ID": "20240317202653-yk5we0e", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202653-yk5we0e", + "updated": "20240317202701" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "Note" + }, + { + "Type": "NodeText", + "Data": "​:" + } + ] + }, + { + "ID": "20240317202702-wczm3on", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202702-wczm3on", + "updated": "20240317202840" + }, + "Children": [ + { + "ID": "20240317202705-o9fbjsh", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202705-o9fbjsh", + "updated": "20240317202840" + }, + "Children": [ + { + "ID": "20240317202745-905fln5", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202745-905fln5", + "updated": "20240317202840" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "If plugins or external extensions require direct reading or writing of files under the " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "data" + }, + { + "Type": "NodeText", + "Data": "​ directory, please use the kernel API to achieve this. " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong", + "TextMarkTextContent": "Do not call" + }, + { + "Type": "NodeText", + "Data": " " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong code", + "TextMarkTextContent": "fs" + }, + { + "Type": "NodeText", + "Data": "​ " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong", + "TextMarkTextContent": "or other electron or nodejs APIs directly" + }, + { + "Type": "NodeText", + "Data": ", as it may result in data loss during synchronization and cause damage to cloud data. Related APIs can be found at: " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/*" + }, + { + "Type": "NodeText", + "Data": "​ (e.g., " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/getFile" + }, + { + "Type": "NodeText", + "Data": "​)" + } + ] + } + ] + }, + { + "ID": "20240317202755-i4ttgax", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202755-i4ttgax", + "updated": "20240317202837" + }, + "Children": [ + { + "ID": "20240317202837-vjq99pf", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202837-vjq99pf", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "When creating a daily note in SiYuan, a custom-dailynote-yyyymmdd attribute will be automatically added to the document to distinguish it from regular documents." + } + ] + }, + { + "ID": "20240317202837-ahu56j5", + "Type": "NodeBlockquote", + "Properties": { + "id": "20240317202837-ahu56j5", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeBlockquoteMarker", + "Data": "\u003e" + }, + { + "ID": "20240317202837-83ygog5", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202837-83ygog5", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "For more details, please refer to " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://github.com/siyuan-note/siyuan/issues/9807", + "TextMarkTextContent": "Github Issue #9807" + }, + { + "Type": "NodeText", + "Data": "." + } + ] + } + ] + }, + { + "ID": "20240317202837-p15b4he", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202837-p15b4he", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "Developers should pay attention to the following when developing the functionality to manually create Daily Notes:" + } + ] + }, + { + "ID": "20240317202837-fhu7g1g", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202837-fhu7g1g", + "updated": "20240317202837" + }, + "Children": [ + { + "ID": "20240317202837-qqhlmxo", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202837-qqhlmxo", + "updated": "20240317202837" + }, + "Children": [ + { + "ID": "20240317202837-wrlpddy", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202837-wrlpddy", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "If " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/filetree/createDailyNote" + }, + { + "Type": "NodeText", + "Data": "​ is called to create a daily note, the attribute will be automatically added to the document, and developers do not need to handle it separately" + } + ] + } + ] + }, + { + "ID": "20240317202837-tv1v9sd", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202837-tv1v9sd", + "updated": "20240317202837" + }, + "Children": [ + { + "ID": "20240317202837-kimmeqd", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202837-kimmeqd", + "updated": "20240317202837" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "If a document is created manually by developer's code (e.g., using the " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "createDocWithMd" + }, + { + "Type": "NodeText", + "Data": "​ API to create a daily note), please manually add this attribute to the document" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/app/guide/20210808180117-czj9bvb/.siyuan/sort.json b/app/guide/20210808180117-czj9bvb/.siyuan/sort.json index e495a6cf2..90390d000 100644 --- a/app/guide/20210808180117-czj9bvb/.siyuan/sort.json +++ b/app/guide/20210808180117-czj9bvb/.siyuan/sort.json @@ -1 +1 @@ -{"20200812220555-lj3enxa":1,"20200813004551-gm0pbn1":18,"20200813004931-q4cu8na":1,"20200813013559-sgbzl5k":3,"20200813093015-u6bopdt":3,"20200813125307-pxsjela":2,"20200813131152-0wk5akh":4,"20200813163359-v04n73b":9,"20200822191536-rm6hwid":4,"20200825162036-4dx365o":1,"20200828105441-r76vmu5":21,"20200905090211-2vixtlf":2,"20200910201551-h4twhas":6,"20200915214115-42b8zma":10,"20200922102318-oz84yu3":2,"20201004184819-nj8ibyg":19,"20201117101902-2ewjjum":6,"20201121212605-9td1a62":10,"20201204181006-7bkppue":11,"20201210103036-1x3vm8t":5,"20201222093044-rx4zjoy":2,"20201222095049-hghafhe":3,"20201227173504-847cs1q":20,"20201227194925-7ipoiv6":22,"20210110175347-2xrwoiq":5,"20210117211155-56n4odu":4,"20210127202655-2334vvv":12,"20210331200042-94gs1hh":14,"20210505163537-oo97zov":3,"20210612224500-ywcms1m":7,"20210615211733-v6rzowm":15,"20210808180320-abz7w6k":2,"20210808180320-fqgskfj":1,"20210808180320-gyngv2x":3,"20210808180320-qgr0b3q":5,"20210808180321-hbvl5c2":6,"20210824201257-cy7icrc":8,"20211010211311-ffz0wbu":13,"20220415190432-r3xqn3r":1,"20220628204444-9n0y9h2":2,"20221016213308-uz5af79":3,"20221223215557-o6gfsoy":16,"20230104144904-39br4c6":23,"20230106101434-e6g4av3":1,"20230303235619-ex5l63e":17,"20230405155631-leo4vc6":6,"20230428153709-hioyy5l":7,"20230429114837-70asb4j":5,"20230506210010-houyyvy":9,"20230519105228-hm0y74i":8,"20230805222417-2lj3dvk":7,"20230805225107-qm1m2f5":2,"20230805230131-sn7obzb":1,"20230805230218-aea8icj":2,"20230808120347-3cob0nb":2,"20230808120347-mw3qrwy":4,"20230808120347-pzvmkik":1,"20230808120348-hynr7og":5,"20230808120348-lgcp9zm":3,"20230808120348-vaxi6eq":6,"20230808120348-yut741f":7,"20240113102857-c63dmo5":2,"20240119205452-o8xp4ve":4,"20240119205543-hknwwrl":5,"20240208113259-nykkvaq":7} \ No newline at end of file +{"20200812220555-lj3enxa":1,"20200813004551-gm0pbn1":18,"20200813004931-q4cu8na":1,"20200813013559-sgbzl5k":3,"20200813093015-u6bopdt":3,"20200813125307-pxsjela":2,"20200813131152-0wk5akh":4,"20200813163359-v04n73b":10,"20200822191536-rm6hwid":4,"20200825162036-4dx365o":1,"20200828105441-r76vmu5":21,"20200905090211-2vixtlf":2,"20200910201551-h4twhas":6,"20200915214115-42b8zma":10,"20200922102318-oz84yu3":2,"20201004184819-nj8ibyg":19,"20201117101902-2ewjjum":6,"20201121212605-9td1a62":11,"20201204181006-7bkppue":11,"20201210103036-1x3vm8t":5,"20201222093044-rx4zjoy":2,"20201222095049-hghafhe":3,"20201227173504-847cs1q":20,"20201227194925-7ipoiv6":22,"20210110175347-2xrwoiq":5,"20210117211155-56n4odu":4,"20210127202655-2334vvv":12,"20210331200042-94gs1hh":14,"20210505163537-oo97zov":3,"20210612224500-ywcms1m":7,"20210615211733-v6rzowm":15,"20210808180320-abz7w6k":2,"20210808180320-fqgskfj":1,"20210808180320-gyngv2x":3,"20210808180320-qgr0b3q":5,"20210808180321-hbvl5c2":6,"20210824201257-cy7icrc":8,"20211010211311-ffz0wbu":13,"20220415190432-r3xqn3r":1,"20220628204444-9n0y9h2":2,"20221016213308-uz5af79":3,"20221223215557-o6gfsoy":16,"20230104144904-39br4c6":23,"20230106101434-e6g4av3":1,"20230303235619-ex5l63e":17,"20230405155631-leo4vc6":6,"20230428153709-hioyy5l":7,"20230429114837-70asb4j":5,"20230506210010-houyyvy":9,"20230519105228-hm0y74i":8,"20230805222417-2lj3dvk":7,"20230805225107-qm1m2f5":2,"20230805230131-sn7obzb":1,"20230805230218-aea8icj":2,"20230808120347-3cob0nb":2,"20230808120347-mw3qrwy":4,"20230808120347-pzvmkik":1,"20230808120348-hynr7og":5,"20230808120348-lgcp9zm":3,"20230808120348-vaxi6eq":6,"20230808120348-yut741f":7,"20240113102857-c63dmo5":2,"20240119205452-o8xp4ve":4,"20240119205543-hknwwrl":5,"20240208113259-nykkvaq":7,"20240317200013-fim8wm8":9} \ No newline at end of file diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy index 6d9e255a2..5e8f31db2 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-abz7w6k/20200825162036-4dx365o.sy @@ -173,8 +173,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } @@ -496,8 +495,7 @@ "TextMarkInlineMathContent": "a^2 + b^2 = \\color{red}c^2" }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-qgr0b3q/20200922101913-d5yitmq.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-qgr0b3q/20200922101913-d5yitmq.sy index ba73beaa8..2a849e519 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-qgr0b3q/20200922101913-d5yitmq.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-qgr0b3q/20200922101913-d5yitmq.sy @@ -1044,8 +1044,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } @@ -1104,8 +1103,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } diff --git a/app/guide/20210808180117-czj9bvb/20240317200013-fim8wm8.sy b/app/guide/20210808180117-czj9bvb/20240317200013-fim8wm8.sy new file mode 100644 index 000000000..b40c8692a --- /dev/null +++ b/app/guide/20210808180117-czj9bvb/20240317200013-fim8wm8.sy @@ -0,0 +1,524 @@ +{ + "ID": "20240317200013-fim8wm8", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f9d1-200d-1f4bb", + "id": "20240317200013-fim8wm8", + "title": "扩展开发", + "type": "doc", + "updated": "20240317202200" + }, + "Children": [ + { + "ID": "20240317200016-xvywk4p", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317200016-xvywk4p", + "updated": "20240317200558" + }, + "Children": [ + { + "ID": "20240317200558-4v1hex5", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317200558-4v1hex5", + "updated": "20240317200558" + }, + "Children": [ + { + "ID": "20240317200558-gwf2uwd", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317200558-gwf2uwd", + "updated": "20240317201234" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20200922102318-oz84yu3", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "主题" + }, + { + "Type": "NodeText", + "Data": " 样例项目 github repo: siyuan-note/theme-sample" + } + ] + } + ] + }, + { + "ID": "20240317200705-tk4ayhp", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317200705-tk4ayhp" + }, + "Children": [ + { + "ID": "20240317200705-q5dnsn1", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317200705-q5dnsn1", + "updated": "20240317201252" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20200922101913-d5yitmq", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "图标" + }, + { + "Type": "NodeText", + "Data": " 样例项目 github repo: siyuan-note/icon-sample" + } + ] + } + ] + }, + { + "ID": "20240317200724-tsalfh6", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317200724-tsalfh6" + }, + "Children": [ + { + "ID": "20240317200724-b2jtxr5", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317200724-b2jtxr5", + "updated": "20240317201310" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20210824201257-cy7icrc", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "挂件" + }, + { + "Type": "NodeText", + "Data": " 样例项目 github repo: siyuan-note/widget-sample" + } + ] + } + ] + }, + { + "ID": "20240317200744-xhlofif", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317200744-xhlofif" + }, + "Children": [ + { + "ID": "20240317200744-9x0xxvl", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317200744-9x0xxvl", + "updated": "20240317201325" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20230506210010-houyyvy", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "插件" + }, + { + "Type": "NodeText", + "Data": " 样例项目 github repo: siyuan-note/plugin-sample" + } + ] + } + ] + }, + { + "ID": "20240317200746-2zoowq8", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317200746-2zoowq8" + }, + "Children": [ + { + "ID": "20240317200746-v3zvzqi", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317200746-v3zvzqi", + "updated": "20240317201342" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20201204181006-7bkppue", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "模板" + }, + { + "Type": "NodeText", + "Data": " 样例项目 github repo: siyuan-note/template-sample" + } + ] + } + ] + }, + { + "ID": "20240317201413-gnqg9wp", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201413-gnqg9wp" + }, + "Children": [ + { + "ID": "20240317201413-0l5jsoe", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201413-0l5jsoe", + "updated": "20240317201433" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "集市仓库 github repo: siyuan-note/bazaar" + } + ] + } + ] + }, + { + "ID": "20240317201527-h016be8", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201527-h016be8" + }, + "Children": [ + { + "ID": "20240317201527-191zcb8", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201527-191zcb8", + "updated": "20240317201608" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://docs.siyuan-note.club/", + "TextMarkTextContent": "社区开发者资源" + } + ] + } + ] + } + ] + }, + { + "ID": "20240317201610-467kw9x", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201610-467kw9x", + "updated": "20240317201707" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "注意" + }, + { + "Type": "NodeText", + "Data": "​:" + } + ] + }, + { + "ID": "20240317201708-e6uwpl2", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317201708-e6uwpl2", + "updated": "20240317202200" + }, + "Children": [ + { + "ID": "20240317201708-mfe7y9d", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201708-mfe7y9d", + "updated": "20240317201708" + }, + "Children": [ + { + "ID": "20240317201810-kb9f6qe", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201810-kb9f6qe", + "updated": "20240317201841" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "插件或者外部扩展如果有直接读取或者写入 data 下文件的需求,请通过调用内核 API 来实现," + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong", + "TextMarkTextContent": "不要自行调用" + }, + { + "Type": "NodeText", + "Data": " " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong code", + "TextMarkTextContent": "fs" + }, + { + "Type": "NodeText", + "Data": "​ " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong", + "TextMarkTextContent": "或者其他 electron、nodejs API" + }, + { + "Type": "NodeText", + "Data": ",否则可能会导致数据同步时分块丢失,造成云端数据损坏。相关 API 见 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/*" + }, + { + "Type": "NodeText", + "Data": "​(例如 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/getFile" + }, + { + "Type": "NodeText", + "Data": "​ 等)" + } + ] + } + ] + }, + { + "ID": "20240317201924-6yrpv38", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201924-6yrpv38", + "updated": "20240317202200" + }, + "Children": [ + { + "ID": "20240317201924-j85082w", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201924-j85082w", + "updated": "20240317202207" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "思源在创建日记的时候会自动为文档添加 custom-dailynote-yyyymmdd 属性,以方便将日记文档同普通文档区分。" + } + ] + }, + { + "ID": "20240317201924-ljq7w3h", + "Type": "NodeBlockquote", + "Properties": { + "id": "20240317201924-ljq7w3h", + "updated": "20240317201924" + }, + "Children": [ + { + "Type": "NodeBlockquoteMarker", + "Data": "\u003e" + }, + { + "ID": "20240317201924-fr7chfe", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201924-fr7chfe", + "updated": "20240317201924" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "详情请见 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://github.com/siyuan-note/siyuan/issues/9807", + "TextMarkTextContent": "Github Issue #9807" + }, + { + "Type": "NodeText", + "Data": "。" + } + ] + } + ] + }, + { + "ID": "20240317201924-9m1bcso", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201924-9m1bcso", + "updated": "20240317201924" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "开发者在开发手动创建 Daily Note 的功能时请注意:" + } + ] + }, + { + "ID": "20240317201924-cl20fvv", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317201924-cl20fvv", + "updated": "20240317202200" + }, + "Children": [ + { + "ID": "20240317201924-bxsu2r5", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201924-bxsu2r5", + "updated": "20240317202201" + }, + "Children": [ + { + "ID": "20240317201924-f0mjd17", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201924-f0mjd17", + "updated": "20240317202201" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如果调用了 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/filetree/createDailyNote" + }, + { + "Type": "NodeText", + "Data": "​ 创建日记,那么文档会自动添加这个属性,无需开发者特别处理" + } + ] + } + ] + }, + { + "ID": "20240317201924-0gnnmqf", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317201924-0gnnmqf", + "updated": "20240317202200" + }, + "Children": [ + { + "ID": "20240317201924-qul097o", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317201924-qul097o", + "updated": "20240317202200" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如果是开发者代码手动创建文档(例如使用 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "createDocWithMd" + }, + { + "Type": "NodeText", + "Data": "​ API 创建日记),请手动为文档添加该属性" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/.siyuan/sort.json b/app/guide/20211226090932-5lcq56f/.siyuan/sort.json index 826b9f56b..7627079de 100644 --- a/app/guide/20211226090932-5lcq56f/.siyuan/sort.json +++ b/app/guide/20211226090932-5lcq56f/.siyuan/sort.json @@ -1 +1 @@ -{"20211226114339-dk0gtpr":7,"20211226114929-08ap1r0":8,"20211226115043-afhev0g":4,"20211226115227-r1rty9v":3,"20211226115423-d5z1joq":1,"20211226115825-mhcslw2":1,"20211226120055-9mityht":1,"20211226120147-ib6yy3i":2,"20211226120247-63nd8y5":3,"20211226120349-rbkmozu":4,"20211226120422-bkzsd2e":5,"20211226120508-yzh70eh":6,"20211226120802-77aj0is":7,"20211226120854-dr1jfx2":2,"20211226120933-vnjgwwh":3,"20211226121109-f060fkg":4,"20211226121203-rjjngpz":5,"20211226121319-emrk2yy":1,"20211226121322-9argcys":3,"20211226121329-c5v3dto":22,"20211226121332-irgblss":4,"20211226121438-xaafdo8":2,"20211226121503-k3jma6m":1,"20211226121808-fnxmngk":2,"20211226122358-hctqcn5":21,"20211226122459-08mi5cq":20,"20211226122523-rl8356a":19,"20211226122549-jktxego":18,"20211226122707-8cr09co":15,"20211226122728-cnqf7rz":14,"20211226122814-r1rdpcx":13,"20211226122943-st7fpcj":12,"20211226123004-dplpw0o":11,"20211226123038-4umgpxy":10,"20211226123101-qjw03ab":8,"20211226123130-jpeg5b2":6,"20211226123154-fd5e001":5,"20211226123216-tlxw66f":4,"20211226123241-51pujtr":3,"20211226123302-akitvb1":2,"20220105101348-corstqc":5,"20220415232129-shpzg6r":1,"20220628204420-ui79vkt":2,"20220708102441-u6wopo9":3,"20221016213639-1nag9jj":3,"20221223221501-mops33i":16,"20230104151953-48hwkwf":23,"20230106104645-o838uew":1,"20230304000829-9jwu3po":17,"20230405172131-yb16aax":6,"20230429115206-ob8nl8t":5,"20230506211210-1roopyo":9,"20230805232636-zh0adz2":6,"20230805232719-04mqbcx":2,"20230805232903-erdoerp":1,"20230805232920-5fdco36":2,"20240113110500-dz2ae4n":2,"20240119210914-a2tm8c4":4,"20240119212000-qkldbjm":5,"20240208171522-y7dxcno":7} \ No newline at end of file +{"20211226114339-dk0gtpr":8,"20211226114929-08ap1r0":9,"20211226115043-afhev0g":4,"20211226115227-r1rty9v":3,"20211226115423-d5z1joq":1,"20211226115825-mhcslw2":1,"20211226120055-9mityht":1,"20211226120147-ib6yy3i":2,"20211226120247-63nd8y5":3,"20211226120349-rbkmozu":4,"20211226120422-bkzsd2e":5,"20211226120508-yzh70eh":6,"20211226120802-77aj0is":7,"20211226120854-dr1jfx2":2,"20211226120933-vnjgwwh":3,"20211226121109-f060fkg":4,"20211226121203-rjjngpz":5,"20211226121319-emrk2yy":1,"20211226121322-9argcys":3,"20211226121329-c5v3dto":22,"20211226121332-irgblss":4,"20211226121438-xaafdo8":2,"20211226121503-k3jma6m":1,"20211226121808-fnxmngk":2,"20211226122358-hctqcn5":21,"20211226122459-08mi5cq":20,"20211226122523-rl8356a":19,"20211226122549-jktxego":18,"20211226122707-8cr09co":15,"20211226122728-cnqf7rz":14,"20211226122814-r1rdpcx":13,"20211226122943-st7fpcj":12,"20211226123004-dplpw0o":11,"20211226123038-4umgpxy":10,"20211226123101-qjw03ab":8,"20211226123130-jpeg5b2":6,"20211226123154-fd5e001":5,"20211226123216-tlxw66f":4,"20211226123241-51pujtr":3,"20211226123302-akitvb1":2,"20220105101348-corstqc":5,"20220415232129-shpzg6r":1,"20220628204420-ui79vkt":2,"20220708102441-u6wopo9":3,"20221016213639-1nag9jj":3,"20221223221501-mops33i":16,"20230104151953-48hwkwf":23,"20230106104645-o838uew":1,"20230304000829-9jwu3po":17,"20230405172131-yb16aax":6,"20230429115206-ob8nl8t":5,"20230506211210-1roopyo":9,"20230805232636-zh0adz2":6,"20230805232719-04mqbcx":2,"20230805232903-erdoerp":1,"20230805232920-5fdco36":2,"20240113110500-dz2ae4n":2,"20240119210914-a2tm8c4":4,"20240119212000-qkldbjm":5,"20240208171522-y7dxcno":7,"20240317202230-l8duv3r":7} \ No newline at end of file diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy index 0b643aa92..510cbc17c 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226120854-dr1jfx2/20211226121319-emrk2yy.sy @@ -7,6 +7,7 @@ "id": "20211226121319-emrk2yy", "title": "排版元素", "title-img": "background-color: hsl(2, 57%, 40%);background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px, rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px, rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px, rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0,0,0,.2) 2px, rgba(0,0,0,.2) 3px, transparent 3px, transparent 5px, rgba(0,0,0,.2) 5px);", + "type": "doc", "updated": "20240225111159" }, "Children": [ @@ -172,8 +173,7 @@ ] }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } @@ -499,8 +499,7 @@ "TextMarkInlineMathContent": "a^2 + b^2 = \\color{red}c^2" }, { - "Type": "NodeText", - "Data": "\n" + "Type": "NodeText" } ] } diff --git a/app/guide/20211226090932-5lcq56f/20240317202230-l8duv3r.sy b/app/guide/20211226090932-5lcq56f/20240317202230-l8duv3r.sy new file mode 100644 index 000000000..863b072eb --- /dev/null +++ b/app/guide/20211226090932-5lcq56f/20240317202230-l8duv3r.sy @@ -0,0 +1,530 @@ +{ + "ID": "20240317202230-l8duv3r", + "Spec": "1", + "Type": "NodeDocument", + "Properties": { + "icon": "1f9d1-200d-1f4bb", + "id": "20240317202230-l8duv3r", + "title": "擴充開發", + "type": "doc", + "updated": "20240317202429" + }, + "Children": [ + { + "ID": "20240317202310-5hm9jav", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202310-5hm9jav", + "updated": "20240317202429" + }, + "Children": [ + { + "ID": "20240317202310-coy1p2h", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-coy1p2h", + "updated": "20240317202351" + }, + "Children": [ + { + "ID": "20240317202310-x9edmfs", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-x9edmfs", + "updated": "20240317202351" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20211226121326-v5kpxfp", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "主題" + }, + { + "Type": "NodeText", + "Data": " 範例專案 github repo: siyuan-note/theme-sample" + } + ] + } + ] + }, + { + "ID": "20240317202310-6u8bpzw", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-6u8bpzw", + "updated": "20240317202343" + }, + "Children": [ + { + "ID": "20240317202310-n17h6f6", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-n17h6f6", + "updated": "20240317202343" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20211226121633-qa2fjpl", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "圖示" + }, + { + "Type": "NodeText", + "Data": " 範例專案 github repo: siyuan-note/icon-sample" + } + ] + } + ] + }, + { + "ID": "20240317202310-0nar36g", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-0nar36g", + "updated": "20240317202411" + }, + "Children": [ + { + "ID": "20240317202310-k0gjr97", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-k0gjr97", + "updated": "20240317202411" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20211226123101-qjw03ab", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "掛件" + }, + { + "Type": "NodeText", + "Data": " 範例專案 github repo: siyuan-note/widget-sample" + } + ] + } + ] + }, + { + "ID": "20240317202310-vzab5p6", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-vzab5p6", + "updated": "20240317202417" + }, + "Children": [ + { + "ID": "20240317202310-641jn1t", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-641jn1t", + "updated": "20240317202417" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20230506211210-1roopyo", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "插件" + }, + { + "Type": "NodeText", + "Data": " 範例專案 github repo: siyuan-note/plugin-sample" + } + ] + } + ] + }, + { + "ID": "20240317202310-ucco616", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-ucco616", + "updated": "20240317202429" + }, + "Children": [ + { + "ID": "20240317202310-7vgo9bs", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-7vgo9bs", + "updated": "20240317202429" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "block-ref", + "TextMarkBlockRefID": "20211226123004-dplpw0o", + "TextMarkBlockRefSubtype": "s", + "TextMarkTextContent": "模板" + }, + { + "Type": "NodeText", + "Data": " 範例專案 github repo: siyuan-note/template-sample" + } + ] + } + ] + }, + { + "ID": "20240317202310-3gr3zpr", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-3gr3zpr", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-1j0gqwj", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-1j0gqwj", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "市集倉庫 github repo: siyuan-note/bazaar" + } + ] + } + ] + }, + { + "ID": "20240317202310-ed4q32m", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-ed4q32m", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-gxcut0e", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-gxcut0e", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://docs.siyuan-note.club/", + "TextMarkTextContent": "社區開發者資源" + } + ] + } + ] + } + ] + }, + { + "ID": "20240317202310-219htvn", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-219htvn", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "tag", + "TextMarkTextContent": "注意" + }, + { + "Type": "NodeText", + "Data": "​:" + } + ] + }, + { + "ID": "20240317202310-3n68u3l", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202310-3n68u3l", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-qr9ah0g", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-qr9ah0g", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-8deqwkz", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-8deqwkz", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "外掛程式或外部擴充如果有直接讀取或寫入data 下檔案的需求,請透過呼叫核心API 來實現," + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong", + "TextMarkTextContent": "不要自行呼叫" + }, + { + "Type": "NodeText", + "Data": " " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "strong code", + "TextMarkTextContent": "fs" + }, + { + "Type": "NodeText", + "Data": "​ *" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "em", + "TextMarkTextContent": "或其他electron、nodejs API" + }, + { + "Type": "NodeText", + "Data": " *,否則可能會導致資料同步時分塊遺失,造成雲端資料損壞。 相關 API 請參閱 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/*" + }, + { + "Type": "NodeText", + "Data": "​(例如 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/file/getFile" + }, + { + "Type": "NodeText", + "Data": "​ 等)" + } + ] + } + ] + }, + { + "ID": "20240317202310-poaxn3m", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-poaxn3m", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-e5wron5", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-e5wron5", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "思源在建立日記的時候會自動為文件新增 custom-dailynote-yyyymmdd 屬性,以方便將日記文件同普通文件區分。" + } + ] + }, + { + "ID": "20240317202310-ozkltzq", + "Type": "NodeBlockquote", + "Properties": { + "id": "20240317202310-ozkltzq", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeBlockquoteMarker", + "Data": "\u003e" + }, + { + "ID": "20240317202310-tfo5fiq", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-tfo5fiq", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "詳情請見 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "a", + "TextMarkAHref": "https://github.com/siyuan-note/siyuan/issues/9807", + "TextMarkTextContent": "Github Issue #9807" + }, + { + "Type": "NodeText", + "Data": "。" + } + ] + } + ] + }, + { + "ID": "20240317202310-q23q89l", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-q23q89l", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "開發者在開發手動建立 Daily Note 的功能時請注意:" + } + ] + }, + { + "ID": "20240317202310-wlez4b5", + "Type": "NodeList", + "ListData": {}, + "Properties": { + "id": "20240317202310-wlez4b5", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-kl0aozp", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-kl0aozp", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-rltqwa6", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-rltqwa6", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如果呼叫了 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "/api/filetree/createDailyNote" + }, + { + "Type": "NodeText", + "Data": "​ 建立日記,那麼文件會自動新增這個屬性,無需開發者特別處理" + } + ] + } + ] + }, + { + "ID": "20240317202310-2zcvsjh", + "Type": "NodeListItem", + "ListData": { + "BulletChar": 42, + "Marker": "Kg==" + }, + "Properties": { + "id": "20240317202310-2zcvsjh", + "updated": "20240317202310" + }, + "Children": [ + { + "ID": "20240317202310-s8kk0s5", + "Type": "NodeParagraph", + "Properties": { + "id": "20240317202310-s8kk0s5", + "updated": "20240317202310" + }, + "Children": [ + { + "Type": "NodeText", + "Data": "如果是開發者程式碼手動建立文件(例如使用 " + }, + { + "Type": "NodeTextMark", + "TextMarkType": "code", + "TextMarkTextContent": "createDocWithMd" + }, + { + "Type": "NodeText", + "Data": "​ API 建立日記),請手動為文件新增該屬性" + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file