From 00ecf566b988ca8380eb809628badf717907b4cf Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 11 Jul 2022 12:21:48 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E8=AF=86=E5=88=AB=E6=9C=AA=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E8=B5=84=E6=BA=90=E6=97=B6=E8=80=83=E8=99=91=20PDF=20?= =?UTF-8?q?=E6=A0=87=E6=B3=A8=E5=BC=95=E7=94=A8=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/5392?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20200924100744-br924ar.sy | 109 ++++++++++----- .../20200915214115-42b8zma.sy | 126 +++++++++--------- .../20211226123038-4umgpxy.sy | 103 ++++++++++---- 3 files changed, 220 insertions(+), 118 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy index 34c3ea251..318111700 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy @@ -5,7 +5,7 @@ "id": "20200924100744-br924ar", "title": "Assets", "type": "doc", - "updated": "20220503122616" + "updated": "20220711122005" }, "Children": [ { @@ -32,12 +32,32 @@ "Type": "NodeParagraph", "Properties": { "id": "20210503095710-1vp1uxw", - "updated": "20210615102935" + "updated": "20220711121739" }, "Children": [ { "Type": "NodeText", - "Data": "Attachments inserted through the editor will be regarded as asset files and will be placed in the workspace data/assets folder by default." + "Data": "Attachments inserted through the editor will be regarded as asset files and will be placed in the " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "workspace/data/assets/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " folder by default." } ] }, @@ -295,7 +315,8 @@ "Num": 1 }, "Properties": { - "id": "20210115224203-r3mwskz" + "id": "20210115224203-r3mwskz", + "updated": "20220711122005" }, "Children": [ { @@ -312,19 +333,54 @@ "Num": 1 }, "Properties": { - "id": "20210115224203-1g8zvdg" + "id": "20210115224203-1g8zvdg", + "updated": "20220711122005" }, "Children": [ { "ID": "20210204172630-7rtyepg", "Type": "NodeParagraph", "Properties": { - "id": "20210204172630-7rtyepg" + "id": "20210204172630-7rtyepg", + "updated": "20220711122005" }, "Children": [ { "Type": "NodeText", - "Data": "Reference to a specific asset file, such as a picture or a file" + "Data": "Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is " + }, + { + "Type": "NodeBlockRef", + "Data": "span", + "Children": [ + { + "Type": "NodeOpenParen" + }, + { + "Type": "NodeOpenParen" + }, + { + "Type": "NodeBlockRefID", + "Data": "20210923104413-csbeop3" + }, + { + "Type": "NodeBlockRefSpace" + }, + { + "Type": "NodeBlockRefText", + "Data": "annotated" + }, + { + "Type": "NodeCloseParen" + }, + { + "Type": "NodeCloseParen" + } + ] + }, + { + "Type": "NodeText", + "Data": ", it will not count towards cleanup whether it is referenced or not" } ] } @@ -344,14 +400,16 @@ "Num": 2 }, "Properties": { - "id": "20210115224203-xb0ycqg" + "id": "20210115224203-xb0ycqg", + "updated": "20220711121811" }, "Children": [ { "ID": "20210204172630-kq680iv", "Type": "NodeParagraph", "Properties": { - "id": "20210204172630-kq680iv" + "id": "20210204172630-kq680iv", + "updated": "20220711121811" }, "Children": [ { @@ -360,19 +418,17 @@ }, { "Type": "NodeCodeSpan", - "CodeMarkerLen": 1, + "Data": "code", "Children": [ { - "Type": "NodeCodeSpanOpenMarker", - "Data": "`" + "Type": "NodeCodeSpanOpenMarker" }, { "Type": "NodeCodeSpanContent", "Data": "/" }, { - "Type": "NodeCodeSpanCloseMarker", - "Data": "`" + "Type": "NodeCodeSpanCloseMarker" } ] }, @@ -382,21 +438,23 @@ }, { "Type": "NodeCodeSpan", - "CodeMarkerLen": 1, + "Data": "code", "Children": [ { - "Type": "NodeCodeSpanOpenMarker", - "Data": "`" + "Type": "NodeCodeSpanOpenMarker" }, { "Type": "NodeCodeSpanContent", "Data": "[foo](assets/bar/)" }, { - "Type": "NodeCodeSpanCloseMarker", - "Data": "`" + "Type": "NodeCodeSpanCloseMarker" } ] + }, + { + "Type": "NodeText", + "Data": ". If a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced." } ] } @@ -404,19 +462,6 @@ } ] }, - { - "ID": "20210115224203-hb1ykk2", - "Type": "NodeParagraph", - "Properties": { - "id": "20210115224203-hb1ykk2" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "The second case is special: if a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced." - } - ] - }, { "ID": "20210115224203-e03wglt", "Type": "NodeParagraph", diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy index 7558fcb44..ffb7604a0 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy @@ -5,7 +5,7 @@ "id": "20200915214115-42b8zma", "title": "资源文件", "type": "doc", - "updated": "20220503121834" + "updated": "20220711122042" }, "Children": [ { @@ -32,12 +32,32 @@ "Type": "NodeParagraph", "Properties": { "id": "20210503095358-zr3uijl", - "updated": "20210615102655" + "updated": "20220711121657" }, "Children": [ { "Type": "NodeText", - "Data": "通过编辑器插入的附件会被认为是资源文件,默认放置在工作空间 data/assets 文件夹下。" + "Data": "通过编辑器插入的附件会被认为是资源文件,默认放置在 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作空间/data/assets/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 文件夹下。" } ] }, @@ -255,7 +275,8 @@ "Num": 1 }, "Properties": { - "id": "20210115222514-tqfsawm" + "id": "20210115222514-tqfsawm", + "updated": "20220711121929" }, "Children": [ { @@ -272,19 +293,29 @@ "Num": 1 }, "Properties": { - "id": "20210115222515-47r5lop" + "id": "20210115222515-47r5lop", + "updated": "20220711121929" }, "Children": [ { "ID": "20210204172443-a8xpkb9", "Type": "NodeParagraph", "Properties": { - "id": "20210204172443-a8xpkb9" + "id": "20210204172443-a8xpkb9", + "updated": "20220711121929" }, "Children": [ { "Type": "NodeText", - "Data": "引用具体的资源文件,比如图片或者文件" + "Data": "引用具体的资源文件,比如图片或者文件。如果资源文件是 PDF 且做过" + }, + { + "Type": "NodeText", + "Data": "标注" + }, + { + "Type": "NodeText", + "Data": ",那么无论它是否被引用都不会计入清理" } ] } @@ -304,14 +335,16 @@ "Num": 2 }, "Properties": { - "id": "20210115222545-nilj84d" + "id": "20210115222545-nilj84d", + "updated": "20220711121528" }, "Children": [ { "ID": "20210204172443-zyll68d", "Type": "NodeParagraph", "Properties": { - "id": "20210204172443-zyll68d" + "id": "20210204172443-zyll68d", + "updated": "20220711121528" }, "Children": [ { @@ -320,19 +353,17 @@ }, { "Type": "NodeCodeSpan", - "CodeMarkerLen": 1, + "Data": "code", "Children": [ { - "Type": "NodeCodeSpanOpenMarker", - "Data": "`" + "Type": "NodeCodeSpanOpenMarker" }, { "Type": "NodeCodeSpanContent", "Data": "/" }, { - "Type": "NodeCodeSpanCloseMarker", - "Data": "`" + "Type": "NodeCodeSpanCloseMarker" } ] }, @@ -342,21 +373,23 @@ }, { "Type": "NodeCodeSpan", - "CodeMarkerLen": 1, + "Data": "code", "Children": [ { - "Type": "NodeCodeSpanOpenMarker", - "Data": "`" + "Type": "NodeCodeSpanOpenMarker" }, { "Type": "NodeCodeSpanContent", "Data": "[foo](assets/bar/)" }, { - "Type": "NodeCodeSpanCloseMarker", - "Data": "`" + "Type": "NodeCodeSpanCloseMarker" } ] + }, + { + "Type": "NodeText", + "Data": "。一个资源文件夹如果被引用,则下面所有资源文件无论是否被单独引用,都会被算作已经引用" } ] } @@ -364,25 +397,12 @@ } ] }, - { - "ID": "20210115223119-4mzx5a8", - "Type": "NodeParagraph", - "Properties": { - "id": "20210115223119-4mzx5a8" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "第二种情况比较特殊:一个资源文件夹如果被引用,则下面所有资源文件无论是否被单独引用,都会被算作已经引用。" - } - ] - }, { "ID": "20210115223610-ffnxstf", "Type": "NodeParagraph", "Properties": { "id": "20210115223610-ffnxstf", - "updated": "20210512160443" + "updated": "20220711122042" }, "Children": [ { @@ -391,6 +411,7 @@ }, { "Type": "NodeKbd", + "Data": "kbd", "Children": [ { "Type": "NodeKbdOpenMarker" @@ -410,6 +431,7 @@ }, { "Type": "NodeKbd", + "Data": "kbd", "Children": [ { "Type": "NodeKbdOpenMarker" @@ -425,35 +447,19 @@ }, { "Type": "NodeText", - "Data": " 中可以一键清理未引用资源,如果需要找回被误删的文件,请通过" + "Data": " 中可以一键" }, { - "Type": "NodeBlockRef", - "Children": [ - { - "Type": "NodeOpenParen" - }, - { - "Type": "NodeOpenParen" - }, - { - "Type": "NodeBlockRefID", - "Data": "20210104090742-hjfornp" - }, - { - "Type": "NodeBlockRefSpace" - }, - { - "Type": "NodeBlockRefText", - "Data": "回滚" - }, - { - "Type": "NodeCloseParen" - }, - { - "Type": "NodeCloseParen" - } - ] + "Type": "NodeText", + "Data": "清理未引用资源" + }, + { + "Type": "NodeText", + "Data": ",如果需要找回被误删的文件,请通过" + }, + { + "Type": "NodeText", + "Data": "回滚" }, { "Type": "NodeText", diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy index 27ca89c37..fc5739eb3 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy @@ -4,7 +4,7 @@ "Properties": { "id": "20211226123038-4umgpxy", "title": "資料文件", - "updated": "20220503122338" + "updated": "20220711122031" }, "Children": [ { @@ -27,12 +27,32 @@ "Type": "NodeParagraph", "Properties": { "id": "20211226123051-wvk5a7h", - "updated": "20211228132912" + "updated": "20220711121751" }, "Children": [ { "Type": "NodeText", - "Data": "通過編輯器插入的附件會被認為是資料文件,預設放置在工作空間 data/assets 文件夾下。" + "Data": "通過編輯器插入的附件會被認為是資料文件,預設放置在 " + }, + { + "Type": "NodeCodeSpan", + "Data": "code", + "Children": [ + { + "Type": "NodeCodeSpanOpenMarker" + }, + { + "Type": "NodeCodeSpanContent", + "Data": "工作空間/data/assets/" + }, + { + "Type": "NodeCodeSpanCloseMarker" + } + ] + }, + { + "Type": "NodeText", + "Data": " 文件夾下。" } ] }, @@ -222,7 +242,7 @@ }, "Properties": { "id": "20211226123051-1qp7a9g", - "updated": "20211228104718" + "updated": "20220711121953" }, "Children": [ { @@ -236,7 +256,7 @@ }, "Properties": { "id": "20211226123051-mmn60x5", - "updated": "20211228104716" + "updated": "20220711121953" }, "Children": [ { @@ -244,12 +264,45 @@ "Type": "NodeParagraph", "Properties": { "id": "20211226123051-p8dr1dy", - "updated": "20211228104716" + "updated": "20220711121953" }, "Children": [ { "Type": "NodeText", - "Data": "引用具體的資料文件,比如圖片或者文件" + "Data": "引用具體的資料文件,比如圖片或者文件。如果資源文件是 PDF 且做過" + }, + { + "Type": "NodeBlockRef", + "Data": "span", + "Children": [ + { + "Type": "NodeOpenParen" + }, + { + "Type": "NodeOpenParen" + }, + { + "Type": "NodeBlockRefID", + "Data": "20211226122955-ganeraz" + }, + { + "Type": "NodeBlockRefSpace" + }, + { + "Type": "NodeBlockRefText", + "Data": "標註" + }, + { + "Type": "NodeCloseParen" + }, + { + "Type": "NodeCloseParen" + } + ] + }, + { + "Type": "NodeText", + "Data": ",那麼無論它是否被引用都不會計入清理" } ] } @@ -266,7 +319,7 @@ }, "Properties": { "id": "20211226123051-0az1yw2", - "updated": "20211228104718" + "updated": "20220711121803" }, "Children": [ { @@ -274,7 +327,7 @@ "Type": "NodeParagraph", "Properties": { "id": "20211226123051-heoyfe2", - "updated": "20211228104718" + "updated": "20220711121803" }, "Children": [ { @@ -316,6 +369,10 @@ "Type": "NodeCodeSpanCloseMarker" } ] + }, + { + "Type": "NodeText", + "Data": "。一個資料文件夾如果被引用,則下面所有資料文件無論是否被單獨引用,都會被算作已經引用" } ] } @@ -323,26 +380,12 @@ } ] }, - { - "ID": "20211226123051-8ftluwy", - "Type": "NodeParagraph", - "Properties": { - "id": "20211226123051-8ftluwy", - "updated": "20211228104725" - }, - "Children": [ - { - "Type": "NodeText", - "Data": "第二種情況比較特殊:一個資料文件夾如果被引用,則下面所有資料文件無論是否被單獨引用,都會被算作已經引用。" - } - ] - }, { "ID": "20211226123051-tkps9jc", "Type": "NodeParagraph", "Properties": { "id": "20211226123051-tkps9jc", - "updated": "20211228104732" + "updated": "20220711122031" }, "Children": [ { @@ -387,7 +430,15 @@ }, { "Type": "NodeText", - "Data": " 中可以一鍵清理未引用資料,如果需要找回被誤刪的文件,請通過" + "Data": " 中可以一鍵" + }, + { + "Type": "NodeText", + "Data": "清理未引用資料" + }, + { + "Type": "NodeText", + "Data": ",如果需要找回被誤刪的文件,請通過" }, { "Type": "NodeBlockRef", @@ -408,7 +459,7 @@ }, { "Type": "NodeBlockRefText", - "Data": "回滾(rollback)" + "Data": "回滾(Rollback)" }, { "Type": "NodeCloseParen"