From 2091be9213b7a58907f0a37ba3217bc39bc96395 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 17 May 2023 16:00:45 +0800 Subject: [PATCH] :art: Holding `Shift` to hover a block ref to show backlinks of it https://github.com/siyuan-note/siyuan/issues/7999 --- .../20200924100950-9op5xi1.sy | 116 +++++++++++++++++- .../20200813004551-gm0pbn1.sy | 116 +++++++++++++++++- .../20211226122549-jktxego.sy | 116 +++++++++++++++++- 3 files changed, 330 insertions(+), 18 deletions(-) diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy index 23ef50c9f..b0c348799 100644 --- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy +++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100950-9op5xi1.sy @@ -7,7 +7,7 @@ "id": "20200924100950-9op5xi1", "title": "Shortcuts", "type": "doc", - "updated": "20230503141906" + "updated": "20230517155934" }, "Children": [ { @@ -9977,13 +9977,14 @@ "ID": "20220619002135-vggu3cg", "Type": "NodeTable", "TableAligns": [ + 0, 0, 0 ], "Properties": { - "colgroup": "|", + "colgroup": "||", "id": "20220619002135-vggu3cg", - "updated": "20220619002856" + "updated": "20230517155934" }, "Children": [ { @@ -10021,6 +10022,16 @@ "Data": "br" } ] + }, + { + "Type": "NodeTableCell", + "Data": "th", + "Children": [ + { + "Type": "NodeText", + "Data": "Memo" + } + ] } ] } @@ -10044,12 +10055,24 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10071,6 +10094,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10078,14 +10105,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌘Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10107,6 +10142,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10114,14 +10153,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌥Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10143,6 +10190,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10150,12 +10201,65 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⇧Click" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td" + } + ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "View all references to the definition block" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Shift+Hover" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "Only supported on reference elements" } ] } diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy index 92e29c68f..9dbed0a6b 100644 --- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy +++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200813004551-gm0pbn1.sy @@ -7,7 +7,7 @@ "id": "20200813004551-gm0pbn1", "title": "快捷键", "type": "doc", - "updated": "20230503141637" + "updated": "20230517155522" }, "Children": [ { @@ -9998,13 +9998,14 @@ "ID": "20220619000401-peit222", "Type": "NodeTable", "TableAligns": [ + 0, 0, 0 ], "Properties": { - "colgroup": "|", + "colgroup": "||", "id": "20220619000401-peit222", - "updated": "20220904093137" + "updated": "20230517155522" }, "Children": [ { @@ -10034,6 +10035,16 @@ "Data": "操作" } ] + }, + { + "Type": "NodeTableCell", + "Data": "th", + "Children": [ + { + "Type": "NodeText", + "Data": "备注" + } + ] } ] } @@ -10057,12 +10068,24 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10084,6 +10107,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10091,14 +10118,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌘Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10120,6 +10155,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10127,14 +10166,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌥Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10156,6 +10203,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10163,12 +10214,65 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⇧Click" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td" + } + ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "查看定义块的所有引用" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Shift+悬浮" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "仅在引用元素上支持" } ] } diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy index 898fe8533..735df8d7b 100644 --- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy +++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122549-jktxego.sy @@ -6,7 +6,7 @@ "icon": "2328", "id": "20211226122549-jktxego", "title": "快捷鍵", - "updated": "20230503141751" + "updated": "20230517155553" }, "Children": [ { @@ -10089,13 +10089,14 @@ "ID": "20220619002223-k6apxvm", "Type": "NodeTable", "TableAligns": [ + 0, 0, 0 ], "Properties": { - "colgroup": "|", + "colgroup": "||", "id": "20220619002223-k6apxvm", - "updated": "20220904093825" + "updated": "20230517155553" }, "Children": [ { @@ -10129,6 +10130,16 @@ "Data": "操作" } ] + }, + { + "Type": "NodeTableCell", + "Data": "th", + "Children": [ + { + "Type": "NodeText", + "Data": "備註" + } + ] } ] } @@ -10156,12 +10167,24 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10187,6 +10210,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10194,14 +10221,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌘Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10227,6 +10262,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10234,14 +10273,22 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⌥Click" + }, + { + "Type": "NodeText", + "Data": "​" } ] + }, + { + "Type": "NodeTableCell", + "Data": "td" } ] }, @@ -10263,6 +10310,10 @@ "Type": "NodeTableCell", "Data": "td", "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, { "Type": "NodeTextMark", "TextMarkType": "kbd", @@ -10270,12 +10321,65 @@ }, { "Type": "NodeText", - "Data": " / " + "Data": "​ / " }, { "Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "⇧Click" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td" + } + ] + }, + { + "Type": "NodeTableRow", + "Data": "tr", + "Children": [ + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "查看定義塊的所有引用" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "​" + }, + { + "Type": "NodeTextMark", + "TextMarkType": "kbd", + "TextMarkTextContent": "Shift+懸浮" + }, + { + "Type": "NodeText", + "Data": "​" + } + ] + }, + { + "Type": "NodeTableCell", + "Data": "td", + "Children": [ + { + "Type": "NodeText", + "Data": "僅在引用元素上支持" } ] }