# blocks

id: 20200924101200-gss5vee
root_id: 20200924101200-gss5vee
hash: 1888e35
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
content: Navigate in the Content Block
fcontent: Navigate in the Content Block
type: d
created: 20200924101200
updated: 20221105220127
ial:
{: id="20200924101200-gss5vee" title="Navigate in the Content Block" type="doc" updated="20221105220127"}


id: 20210428224834-ten8yt5
parent_id: 20210104091546-1flsvp0
root_id: 20200924101200-gss5vee
hash: d04132f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
fcontent: Standard URL hyperlinks, opened with a browser, used for Internet resource access
type: l
subtype: u
ial: {: id="20210428224834-ten8yt5" updated="20221105220127"}
created: 20210428224834
updated: 20221105220127
content:
 Standard URL hyperlinks, opened with a browser, used for Internet resource access The content block link established by ref is used for two-way linking within SiYuan

markdown:
* Standard URL hyperlinks, opened with a browser, used for Internet resource access
* The content block link established by ((20200924101256-f8b1sbi "ref")) is used for two-way linking within SiYuan


id: 20210428224834-dn1cwlq
parent_id: 20210428224834-ten8yt5
root_id: 20200924101200-gss5vee
hash: c12267c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
content: The content block link established by ref is used for two-way linking within SiYuan
fcontent: The content block link established by ref is used for two-way linking within SiYuan
type: i
subtype: u
ial: {: id="20210428224834-dn1cwlq" updated="20221105220127"}
created: 20210428224834
updated: 20221105220127
markdown:
* The content block link established by ((20200924101256-f8b1sbi "ref")) is used for two-way linking within SiYuan


id: 20210428224834-3i7y0fu
parent_id: 20210428224834-dn1cwlq
root_id: 20200924101200-gss5vee
hash: 2749a43
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
content: The content block link established by ref is used for two-way linking within SiYuan
type: p
ial: {: id="20210428224834-3i7y0fu" updated="20221105220127"}
created: 20210428224834
updated: 20221105220127
markdown:
The content block link established by ((20200924101256-f8b1sbi "ref")) is used for two-way linking within SiYuan


id: 20210428225949-bxqb5mb
parent_id: 20210428225947-bkizd86
root_id: 20200924101200-gss5vee
hash: 3812cec
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
type: l
subtype: u
ial: {: id="20210428225949-bxqb5mb" updated="20220312233028"}
created: 20210428225949
updated: 20220312233028
content:
 After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block Jump in context through the breadcrumb navigation at the top of the editor

fcontent:
After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block

markdown:
* After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block
* Jump in context through the breadcrumb navigation at the top of the editor


id: 20210428225949-q8mwfo8
parent_id: 20210428225949-bxqb5mb
root_id: 20200924101200-gss5vee
hash: 5a157b7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
type: i
subtype: u
ial: {: id="20210428225949-q8mwfo8" updated="20220312233028"}
created: 20210428225949
updated: 20220312233028
content:
 After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block

fcontent:
After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block

markdown:
* After selecting focus in the right-click drop-down menu on the block icon, the editor will focus on the content block


id: 20210104091546-k8f7caz
parent_id: 20200924101210-zwf8ags
root_id: 20200924101200-gss5vee
hash: 3a2372f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
type: p
ial: {: id="20210104091546-k8f7caz" updated="20210428225413"}
created: 20210104091546
updated: 20210428225413
content:
The relationship diagram is divided into document level and global. The relationship diagram of the document is expanded based on the current document block and presents all the content blocks (forward links and reverse links) related to the document; the global relationship diagram is all the block and link relationships in all notebooks.

markdown:
The relationship diagram is divided into document level and global. The relationship diagram of the document is expanded based on the current document block and presents all the content blocks (forward links and reverse links) related to the document; the global relationship diagram is all the block and link relationships in all notebooks.


id: 20210106204930-m073dyq
parent_id: 20200924101210-3qfiiat
root_id: 20200924101200-gss5vee
hash: b37f10e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
type: p
ial: {: id="20210106204930-m073dyq"}
created: 20210106204930
content:
Backlinks are document-level, listing the blocks in the current document where content blocks are quoted and mentioned.

markdown:
Backlinks are document-level, listing the blocks in the current document where content blocks are quoted and mentioned.


id: 20210908144725-sfn6vd8
parent_id: 20210104091546-2gmpeq4
root_id: 20200924101200-gss5vee
hash: 84816f8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
fcontent: Hovering the mouse over the reference block icon will pop up a preview floating window
type: l
subtype: u
ial: {: id="20210908144725-sfn6vd8" updated="20210908144757"}
created: 20210908144725
updated: 20210908144757
content:
 Hovering the mouse over the reference block icon will pop up a preview floating window Click the reference block in the backlink list to jump

markdown:
* Hovering the mouse over the reference block icon will pop up a preview floating window
* Click the reference block in the backlink list to jump


id: 20210106204954-rpwfh3i
parent_id: 20210106204950-gjw62fp
root_id: 20200924101200-gss5vee
hash: f3c8c88
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
type: p
ial: {: id="20210106204954-rpwfh3i" updated="20221026221426"}
created: 20210106204954
updated: 20221026221426
content:
Mentions are searched using the content block name, alias, reference anchor text and document name in the current document as keywords (the search scope can be set in Settings​ - Search​ - Backlink mentions​), the search results are blocks of content that contain these keywords.

markdown:
Mentions are searched using the content block name, alias, reference anchor text and document name in the current document as keywords (the search scope can be set in <kbd>Settings</kbd>​ - <kbd>Search</kbd>​ - <kbd>Backlink mentions</kbd>​), the search results are blocks of content that contain these keywords.


id: 20221026222024-1ug5zq4
parent_id: 20210106204950-gjw62fp
root_id: 20200924101200-gss5vee
hash: e01675d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101200-gss5vee.sy
hpath: /Please Start Here/Content Block/Navigate in the Content Block
tag: #Note#
type: p
ial: {: id="20221026222024-1ug5zq4" updated="20221026222138"}
created: 20221026222024
updated: 20221026222138
content:
​#Note#​: Mention search will only search in normal text, not in line-level elements such as bold and italics, and block-level elements such as code blocks and charts. The rule are the same as the detection rules of virtual reference.

markdown:
​#Note#​: Mention search will only search in normal text, not in line-level elements such as bold and italics, and block-level elements such as code blocks and charts. The rule are the same as the ((20211010212319-oy401ib "detection rules of virtual reference")).


id: 20210118101709-9lqij9d
parent_id: 20210118101709-5a7bzl0
root_id: 20200924101106-19z4kaa
hash: 456c309
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
tag: #Content Block#
type: p
ial: {: id="20210118101709-9lqij9d" updated="20220623201341"}
created: 20210118101709
updated: 20220623201341
content:
"#Content Block#" refers to a piece of content, and each piece of such content is identified by a globally unique ID. The ID is automatically generated by the program and has the form: 202008250000-a1b2c3d, consisting of time and 7 random characters.

markdown:
"#Content Block#" refers to a piece of content, and each piece of such content is identified by a globally unique ID. The ID is automatically generated by the program and has the form: `202008250000-a1b2c3d`, consisting of time and 7 random characters.


id: 20210104091535-6ark8fi
parent_id: 20210104091535-aqraylz
root_id: 20200924101106-19z4kaa
hash: 1db3cf7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
type: p
ial: {: id="20210104091535-6ark8fi"}
created: 20210104091535
content:
The most common content block is the familiar paragraph (Paragraph). In traditional Chinese typesetting, paragraphs are usually represented by indentation (two spaces) at the beginning of the paragraph. With the development of the Internet, it has gradually affected the representation of paragraphs. The most commonly used method is to increase the line spacing between paragraphs, or use blank lines to separate paragraphs.

markdown:
The most common content block is the familiar paragraph (Paragraph). In traditional Chinese typesetting, paragraphs are usually represented by indentation (two spaces) at the beginning of the paragraph. With the development of the Internet, it has gradually affected the representation of paragraphs. The most commonly used method is to increase the line spacing between paragraphs, or use blank lines to separate paragraphs.


id: 20210104091535-vhbubwx
parent_id: 20210104091535-aqraylz
root_id: 20200924101106-19z4kaa
hash: 3ee8e5e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
type: p
ial: {: id="20210104091535-vhbubwx"}
created: 20210104091535
content:
In actual use, it is not enough to rely on paragraph typesetting. It is often necessary to use Heading, List, Table, Blockquote, etc. to enrich our typesetting. These typographic styles are not only visually different, but more importantly, they express the semantics of the content to a certain extent. For example, when we see an unordered list, we can know that each list item is in an indiscriminate level relationship, while when we see an ordered list, the opposite is true.

markdown:
In actual use, it is not enough to rely on paragraph typesetting. It is often necessary to use Heading, List, Table, Blockquote, etc. to enrich our typesetting. These typographic styles are not only visually different, but more importantly, they express the semantics of the content to a certain extent. For example, when we see an unordered list, we can know that each list item is in an indiscriminate level relationship, while when we see an ordered list, the opposite is true.


id: 20210104091535-pnp9cmo
parent_id: 20210104091535-aqraylz
root_id: 20200924101106-19z4kaa
hash: a52aa72
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
tag: #Content Block/Type#
type: p
ial: {: id="20210104091535-pnp9cmo" updated="20220623201559"}
created: 20210104091535
updated: 20220623201559
content:
Therefore, there are many content blocks types, and different types of content blocks are defined by formatting. #Content Block/Type#

markdown:
Therefore, there are many content blocks ((20200924101225-k254i8g "types")), and different types of content blocks are defined by formatting. #Content Block/Type#


id: 20210104091535-2ybzqz1
parent_id: 20210104091535-sbufc1h
root_id: 20200924101106-19z4kaa
hash: 89ac6e6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
tag: #Note# #Content Block/Combine#
type: p
ial: {: id="20210104091535-2ybzqz1" updated="20220623201418"}
created: 20210104091535
updated: 20220623201418
content:
A document is a combination of some content blocks, and the content block is the basic unit. This is like Lego bricks, which can be combined using different basic modules. #Note#: the document itself is also a kind of content block. More precisely, the three content blocks of document block, list block, and block reference block are container blocks, and they can contain any other types of content blocks. #Content Block/Combine#

markdown:
A document is a combination of some content blocks, and the content block is the basic unit. This is like Lego bricks, which can be combined using different basic modules. #Note#: the document itself is also a kind of content block. More precisely, the three content blocks of document block, list block, and block reference block are container blocks, and they can contain any other types of content blocks. #Content Block/Combine#


id: 20210104091535-11dba0r
parent_id: 20210104091535-sbufc1h
root_id: 20200924101106-19z4kaa
hash: 5c29616
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
type: p
ial: {: id="20210104091535-11dba0r"}
created: 20210104091535
content:
At this point, we have been able to use content blocks to describe all content, so that we can use uniform usage to link content block . Logically, there is no page concept, which reduces unnecessary burdens in use and allows users to focus on the content block.

markdown:
At this point, we have been able to use content blocks to describe all content, so that we can use uniform usage to ((20200924101256-f8b1sbi "link content block")) . Logically, there is no page concept, which reduces unnecessary burdens in use and allows users to focus on the content block.


id: 20210118104710-sb9ti9s
parent_id: 20210118104710-tmyyac4
root_id: 20200924101106-19z4kaa
hash: ac9a451
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
memo: The memo is usually a short sentence.
type: p
ial: {: id="20210118104710-sb9ti9s" memo="The memo is usually a short sentence."}
created: 20210118104710
content:
We can name each content block, add aliases and memo. Naming and aliases are mainly used for anti-link mention search, and memo are used to record some inconvenient information in the content area.

markdown:
We can name each content block, add aliases and memo. Naming and aliases are mainly used for anti-link ((20210106204950-gjw62fp "mention "))search, and memo are used to record some inconvenient information in the content area.


id: 20210118104710-2sb91b3
parent_id: 20210118104710-tmyyac4
root_id: 20200924101106-19z4kaa
hash: e8987f6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
type: p
ial: {: id="20210118104710-2sb91b3" updated="20210512160955"}
created: 20210118104710
updated: 20210512160955
content:
After opening the options for displaying bookmarks, naming, and alias identification in the Settings - Editor, the named content block will be displayed with a frame in the editor. If you name and memo the document block, when the mouse is hovering over the doc tree document, the relevant naming and memo of the document will appear.

markdown:
After opening the options for displaying bookmarks, naming, and alias identification in the <kbd>Settings</kbd> - <kbd>Editor</kbd>, the named content block will be displayed with a frame in the editor. If you name and memo the document block, when the mouse is hovering over the doc tree document, the relevant naming and memo of the document will appear.


id: 20210118104710-b71o7og
parent_id: 20210118104710-tmyyac4
root_id: 20200924101106-19z4kaa
hash: 8b04a30
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
type: p
ial: {: id="20210118104710-b71o7og" updated="20210512154814"}
created: 20210118104710
updated: 20210512154814
content:
You can use Embed Content Block to search and summarize the naming and memo, such as listing the content blocks that contain the keyword short in the memo:

markdown:
You can use ((20201117112518-dott91x "Embed Content Block")) to search and summarize the naming and memo, such as listing the content blocks that contain the keyword `short` in the memo:


id: 20230419153621-c80sc5z
parent_id: 20210118104710-tmyyac4
root_id: 20200924101106-19z4kaa
hash: 28448af
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101106-19z4kaa.sy
hpath: /Please Start Here/Content Block/What is a Content Block
fcontent: The name is unique, only one name can be set for a block
type: l
subtype: u
ial: {: id="20230419153621-c80sc5z" updated="20230419153642"}
created: 20230419153621
updated: 20230419153642
content:
 The name is unique, only one name can be set for a block Multiple aliases can be set, separated by commas (,​) in English Memos only support plain text

markdown:
* The name is unique, only one name can be set for a block
* Multiple aliases can be set, separated by commas (`,`​) in English
* Memos only support plain text


id: 20210104091538-ngfa912
parent_id: 20210104091538-4b3n4al
root_id: 20200924101225-k254i8g
hash: f57f935
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
type: p
ial: {: id="20210104091538-ngfa912" updated="20210302223854"}
created: 20210104091538
updated: 20210302223854
content:
Hover the mouse over the content block and the corresponding icon will appear on the left side of the content block. For format usage, please refer to Markdown Complete Demo.

markdown:
Hover the mouse over the content block and the corresponding icon will appear on the left side of the content block. For format usage, please refer to ((20200924093441-ft2rhps "Markdown Complete Demo")).


id: 20210104091538-le8t1ci
parent_id: 20210104091538-4b3n4al
root_id: 20200924101225-k254i8g
hash: 4ec1eeb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
type: t
ial: {: colgroup="||" id="20210104091538-le8t1ci" updated="20220429115750"}
created: 20210104091538
updated: 20220429115750
content:
Icon Type Meta Type paragraph.svg assets/paragraph-20210512171139-2x8lgt5.svg Paragraph block Leaf block heading.svg assets/heading-20210512171149-56npt09.svg Heading block Leaf block math-block.svg assets/math-block-20210512171155-9w2eti5.svg Math Formula block Leaf block code-block.svg assets/code-block-20210512171201-pw7hrv2.svg Code block Leaf block table.svg assets/table-20210512171208-hgfm17w.svg Table block Leaf block html-block-20220429115636-e80k6ty.svg assets/html-block-20220429115636-e80k6ty.svg HTML block Leaf block unordered-list.svg assets/unordered-list-20210512171214-90nb6w0.svg Unordered List block Container block ordered-list.svg assets/ordered-list-20210512171220-ghfzj2f.svg Ordered List block Container block task-list.svg assets/task-list-20210512171226-br51zxn.svg Task list block Container block list-item.svg assets/list-item-20210512171231-2yc3wfd.svg List Item block Container block blockquote.svg assets/blockquote-20210512171236-9dl6ui9.svg Blockquote block Container block super-block.svg assets/super-block-20210512171243-ydsukhs.svg Super block Container block doc.svg assets/doc-20210512171251-8qzw4l4.svg Document block Container block

markdown:
|Icon|Type|((20200925102736-x94e40g "Meta Type"))|
| ---------------------------------------------------------------------------------------| ----------------------| -----------------|
|![paragraph.svg](assets/paragraph-20210512171139-2x8lgt5.svg)|Paragraph block|Leaf block|
|![heading.svg](assets/heading-20210512171149-56npt09.svg)|Heading block|Leaf block|
|![math-block.svg](assets/math-block-20210512171155-9w2eti5.svg)|Math Formula block|Leaf block|
|![code-block.svg](assets/code-block-20210512171201-pw7hrv2.svg)|Code block|Leaf block|
|![table.svg](assets/table-20210512171208-hgfm17w.svg)|Table block|Leaf block|
|![html-block-20220429115636-e80k6ty.svg](assets/html-block-20220429115636-e80k6ty.svg)|HTML block|Leaf block|
|![unordered-list.svg](assets/unordered-list-20210512171214-90nb6w0.svg)|Unordered List block|Container block|
|![ordered-list.svg](assets/ordered-list-20210512171220-ghfzj2f.svg)|Ordered List block|Container block|
|![task-list.svg](assets/task-list-20210512171226-br51zxn.svg)|Task list block|Container block|
|![list-item.svg](assets/list-item-20210512171231-2yc3wfd.svg)|List Item block|Container block|
|![blockquote.svg](assets/blockquote-20210512171236-9dl6ui9.svg)|Blockquote block|Container block|
|![super-block.svg](assets/super-block-20210512171243-ydsukhs.svg)|Super block|Container block|
|![doc.svg](assets/doc-20210512171251-8qzw4l4.svg)|Document block|Container block|


id: 20210104091538-pbqg66x
parent_id: 20210104091538-38bsz5r
root_id: 20200924101225-k254i8g
hash: 00a28da
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
content: Column 1 Column 2 Row One Column One Row One Column Two Row Two Column One Row Two Column Two
type: t
ial: {: id="20210104091538-pbqg66x"}
created: 20210104091538
markdown:
|Column 1|Column 2|
| ------------------| ------------------|
|Row One Column One|Row One Column Two|
|Row Two Column One|Row Two Column Two|


id: 20220429115221-suekrrv
parent_id: 20220429115218-ydwuros
root_id: 20200924101225-k254i8g
hash: 4b7d014
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
tag: #Note#
type: p
ial: {: id="20220429115221-suekrrv" updated="20220429115221"}
created: 20220429115221
updated: 20220429115221
content:
#Note#: The code in the HTML block will not be safely filtered when using it. Please confirm the code is safe before using it to avoid cross-site scripting (XSS).

markdown:
#Note#: The code in the HTML block will not be safely filtered when using it. Please confirm the code is safe before using it to avoid cross-site scripting (XSS).


id: 20210104091538-lbf2al4
parent_id: 20210104091538-wqiaxdu
root_id: 20200924101225-k254i8g
hash: 5a48eb1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
type: p
ial: {: id="20210104091538-lbf2al4"}
created: 20210104091538
content:
The basic usage of outline notes can be realized through the list item block. The list item block is a type container block.

markdown:
The basic usage of outline notes can be realized through the list item block. The list item block is a type ((20200925102736-x94e40g "container block")).


id: 20210104091538-hpihzah
parent_id: 20210104091538-lubwy1k
root_id: 20200924101225-k254i8g
hash: 6e00f57
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
type: p
ial: {: id="20210104091538-hpihzah" updated="20210503220329"}
created: 20210104091538
updated: 20210503220329
content:
The super block is a type container block. It can be used to combine continuous content blocks in a document, and also to support horizontal typesetting.

markdown:
The super block is a type ((20200925102736-x94e40g "container block")). It can be used to combine continuous content blocks in a document, and also to support horizontal typesetting.


id: 20210104091538-mg5xa52
parent_id: 20210104091538-clx67q4
root_id: 20200924101225-k254i8g
hash: 1a94e45
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
content: The entire document is a block, and the document block is a type container block.
type: p
ial: {: id="20210104091538-mg5xa52"}
created: 20210104091538
markdown:
The entire document is a block, and the document block is a type ((20200925102736-x94e40g "container block")).


id: 20210104091538-36hcqp1
parent_id: 20200925102736-x94e40g
root_id: 20200924101225-k254i8g
hash: e0cf263
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
type: p
ial: {: id="20210104091538-36hcqp1"}
created: 20210104091538
content:
The content block is logically divided into a leaf block and a container block. The leaf block cannot contain other blocks, and the container block can contain other blocks:

markdown:
The content block is logically divided into a leaf block and a container block. The leaf block cannot contain other blocks, and the container block can contain other blocks:


id: 20210104091538-3pi7fbf
parent_id: 20200925102736-x94e40g
root_id: 20200924101225-k254i8g
hash: a6391bd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy
hpath: /Please Start Here/Content Block/Content Block Type
fcontent: List block: can only contain list item blocks
type: l
subtype: u
ial: {: id="20210104091538-3pi7fbf"}
created: 20210104091538
content:
 List block: can only contain list item blocks List item block: can contain any other non-document blocks Blockquote block: can contain any non-document blocks Super block: can contain any non-document blocks Document block: can contain any non-document blocks

markdown:
* List block: can only contain list item blocks
* List item block: can contain any other non-document blocks
* Blockquote block: can contain any non-document blocks
* Super block: can contain any non-document blocks
* Document block: can contain any non-document blocks


id: 20220623200920-67ob14v
parent_id: 20200924101312-jj4e0v3
root_id: 20200924101256-f8b1sbi
hash: ef58e57
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
tag: #Content Block/Reference#
type: p
ial: {: id="20220623200920-67ob14v" updated="20220623201408"}
created: 20220623200920
updated: 20220623201408
content:
After entering ((, the content block reference search will be triggered. Continue to input as the search keyword. In the search results, use the up and down keys to select and press Enter to complete the content block reference. After the content block reference is established, hover the mouse. After the anchor text is placed, the preview layer will pop up, showing the referenced content block (definition block). #Content Block/Reference#

markdown:
After entering `((`, the content block reference search will be triggered. Continue to input as the search keyword. In the search results, use the up and down keys to select and press Enter to complete the content block reference. After the content block reference is established, hover the mouse. After the anchor text is placed, the preview layer will pop up, showing the referenced content block (definition block). #Content Block/Reference#


id: 20210104091542-9h3i9dh
parent_id: 20210104091542-v1yca4p
root_id: 20200924101256-f8b1sbi
hash: d54593e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
fcontent: Forwardlink, that is, which other content blocks are used in the current content block
type: l
subtype: u
ial: {: id="20210104091542-9h3i9dh"}
created: 20210104091542
content:
 Forwardlink, that is, which other content blocks are used in the current content block Backlink, that is, the current content block is used by those other content blocks

markdown:
* Forwardlink, that is, which other content blocks are used in the current content block
* Backlink, that is, the current content block is used by those other content blocks


id: 20210104091542-hbzfsn5
parent_id: 20210104091542-v1yca4p
root_id: 20200924101256-f8b1sbi
hash: ce96162
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: id="20210104091542-hbzfsn5"}
created: 20210104091542
content:
The forward link is included in the content of the current block, which we can see intuitively. Backlinks need to be searched in other documents to know, and it is precisely this information that is more valuable to us. We can use the following two ways to help us better grasp the knowledge points or diverge ideas:

markdown:
The forward link is included in the content of the current block, which we can see intuitively. Backlinks need to be searched in other documents to know, and it is precisely this information that is more valuable to us. We can use the following two ways to help us better grasp the knowledge points or diverge ideas:


id: 20210104091542-rlv1299
parent_id: 20210104091542-v1yca4p
root_id: 20200924101256-f8b1sbi
hash: 7267805
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
fcontent: Graph: browse forward and backward link relationships between content blocks
type: l
subtype: u
ial: {: id="20210104091542-rlv1299"}
created: 20210104091542
content:
 Graph: browse forward and backward link relationships between content blocks Backlinks: Display the backlinks of the current content block as a text list

markdown:
* ((20200924101210-zwf8ags "Graph")): browse forward and backward link relationships between content blocks
* ((20200924101210-3qfiiat "Backlinks")): Display the backlinks of the current content block as a text list


id: 20210104091542-1ryw6y3
parent_id: 20210104091542-rlv1299
root_id: 20200924101256-f8b1sbi
hash: ec7a947
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
content: Graph: browse forward and backward link relationships between content blocks
fcontent: Graph: browse forward and backward link relationships between content blocks
type: i
subtype: u
ial: {: id="20210104091542-1ryw6y3"}
created: 20210104091542
markdown:
* ((20200924101210-zwf8ags "Graph")): browse forward and backward link relationships between content blocks


id: 20210302223856-ngw7ijw
parent_id: 20210104091542-1ryw6y3
root_id: 20200924101256-f8b1sbi
hash: c4ea3a2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
content: Graph: browse forward and backward link relationships between content blocks
type: p
ial: {: id="20210302223856-ngw7ijw"}
created: 20210302223856
markdown:
((20200924101210-zwf8ags "Graph")): browse forward and backward link relationships between content blocks


id: 20210104091542-40sj7jl
parent_id: 20210104091542-rlv1299
root_id: 20200924101256-f8b1sbi
hash: 6fd2a57
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
content: Backlinks: Display the backlinks of the current content block as a text list
fcontent: Backlinks: Display the backlinks of the current content block as a text list
type: i
subtype: u
ial: {: id="20210104091542-40sj7jl"}
created: 20210104091542
markdown:
* ((20200924101210-3qfiiat "Backlinks")): Display the backlinks of the current content block as a text list


id: 20210302223856-y92ousb
parent_id: 20210104091542-40sj7jl
root_id: 20200924101256-f8b1sbi
hash: b196132
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
content: Backlinks: Display the backlinks of the current content block as a text list
type: p
ial: {: id="20210302223856-y92ousb" updated="20210512154524"}
created: 20210302223856
updated: 20210512154524
markdown:
((20200924101210-3qfiiat "Backlinks")): Display the backlinks of the current content block as a text list


id: 20220623201008-piboygr
parent_id: 20220623201008-is3nn7u
root_id: 20200924101256-f8b1sbi
hash: 9b457e5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: id="20220623201008-piboygr" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
Anchor text is the text you see when rendering a reference. It is divided into static anchor text and dynamic anchor text:

markdown:
Anchor text is the text you see when rendering a reference. It is divided into static anchor text and dynamic anchor text:


id: 20220623201008-h2pdjtl
parent_id: 20220623201008-is3nn7u
root_id: 20200924101256-f8b1sbi
hash: 4cad54d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: l
subtype: u
ial: {: id="20220623201008-h2pdjtl" updated="20220623201147"}
created: 20220623201008
updated: 20220623201147
content:
 Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly Dynamic anchor text: follow the content of the defined block, the maximum length can be set in Settings - Editor - The maximum length of block ref dynamic anchor text , supports up to 5120 characters

fcontent:
Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly

markdown:
* Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly
* Dynamic anchor text: follow the content of the defined block, the maximum length can be set in <kbd>Settings</kbd> - <kbd>Editor</kbd> - <kbd>The maximum length of block ref dynamic anchor text</kbd> , supports up to `5120` characters


id: 20220623201008-ay77217
parent_id: 20220623201008-h2pdjtl
root_id: 20200924101256-f8b1sbi
hash: 870a70a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: id="20220623201008-ay77217" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly

fcontent:
Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly

markdown:
* Static anchor text: It will not change with the content of the definition block, that is, the specified content will be displayed fixedly


id: 20220623201008-zy2xzyl
parent_id: 20220623201008-h2pdjtl
root_id: 20200924101256-f8b1sbi
hash: 897fc8e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: updated="20220623201147" id="20220623201008-zy2xzyl"}
created: 20220623201008
updated: 20220623201147
content:
 Dynamic anchor text: follow the content of the defined block, the maximum length can be set in Settings - Editor - The maximum length of block ref dynamic anchor text , supports up to 5120 characters

fcontent:
Dynamic anchor text: follow the content of the defined block, the maximum length can be set in Settings - Editor - The maximum length of block ref dynamic anchor text , supports up to 5120 characters

markdown:
* Dynamic anchor text: follow the content of the defined block, the maximum length can be set in <kbd>Settings</kbd> - <kbd>Editor</kbd> - <kbd>The maximum length of block ref dynamic anchor text</kbd> , supports up to `5120` characters


id: 20220623201008-l0p1dr3
parent_id: 20220623201008-zy2xzyl
root_id: 20200924101256-f8b1sbi
hash: 5fa5614
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: id="20220623201008-l0p1dr3" updated="20220623201147"}
created: 20220623201008
updated: 20220623201147
content:
Dynamic anchor text: follow the content of the defined block, the maximum length can be set in Settings - Editor - The maximum length of block ref dynamic anchor text , supports up to 5120 characters

markdown:
Dynamic anchor text: follow the content of the defined block, the maximum length can be set in <kbd>Settings</kbd> - <kbd>Editor</kbd> - <kbd>The maximum length of block ref dynamic anchor text</kbd> , supports up to `5120` characters


id: 20220623201008-i8gh5d4
parent_id: 20220623201008-is3nn7u
root_id: 20200924101256-f8b1sbi
hash: 482e5ba
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: l
subtype: u
ial: {: updated="20220623201008" id="20220623201008-i8gh5d4"}
created: 20220623201008
updated: 20220623201008
content:
 Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text Right-click the reference element and modify the anchor text in the pop-up menu, so that the anchor text obtained is also static anchor text Clear the anchor text in the pop-up menu after right-clicking the reference element, this will use dynamic anchor text

fcontent:
Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text

markdown:
* Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text
* Right-click the reference element and modify the anchor text in the pop-up menu, so that the anchor text obtained is also static anchor text
* Clear the anchor text in the pop-up menu after right-clicking the reference element, this will use dynamic anchor text


id: 20220623201008-lgp3it0
parent_id: 20220623201008-i8gh5d4
root_id: 20200924101256-f8b1sbi
hash: 29af14c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: id="20220623201008-lgp3it0" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text

fcontent:
Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text

markdown:
* Move the cursor caret into the reference element and modify the content directly, which will set the reference's anchor text to static anchor text


id: 20220623201008-ni0hyaa
parent_id: 20220623201008-i8gh5d4
root_id: 20200924101256-f8b1sbi
hash: b1e8aee
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: id="20220623201008-ni0hyaa" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Right-click the reference element and modify the anchor text in the pop-up menu, so that the anchor text obtained is also static anchor text

fcontent:
Right-click the reference element and modify the anchor text in the pop-up menu, so that the anchor text obtained is also static anchor text

markdown:
* Right-click the reference element and modify the anchor text in the pop-up menu, so that the anchor text obtained is also static anchor text


id: 20220623201008-taaeskp
parent_id: 20220623201008-i8gh5d4
root_id: 20200924101256-f8b1sbi
hash: 4ee25c5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: id="20220623201008-taaeskp" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Clear the anchor text in the pop-up menu after right-clicking the reference element, this will use dynamic anchor text

fcontent:
Clear the anchor text in the pop-up menu after right-clicking the reference element, this will use dynamic anchor text

markdown:
* Clear the anchor text in the pop-up menu after right-clicking the reference element, this will use dynamic anchor text


id: 20230420185940-z74ufig
parent_id: 20220623201008-is3nn7u
root_id: 20200924101256-f8b1sbi
hash: b095bad
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
fcontent: Direct Enter​ or Click​ will use dynamic anchor text
type: l
subtype: u
ial: {: updated="20230420190018" id="20230420185940-z74ufig"}
created: 20230420185940
updated: 20230420190018
content:
 Direct Enter​ or Click​ will use dynamic anchor text Press Ctrl+Enter​ or Ctrl+Click​ to use static anchor text

markdown:
* Direct <kbd>Enter</kbd>​ or <kbd>Click</kbd>​ will use dynamic anchor text
* Press <kbd>Ctrl+Enter</kbd>​ or <kbd>Ctrl+Click</kbd>​ to use static anchor text


id: 20230420123242-7uymi9i
parent_id: 20230420123242-xsz318y
root_id: 20200924101256-f8b1sbi
hash: 1b2224f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
content: Use ((​​ to search in all types of blocks Use [[​ to search only doc blocks
fcontent: Use ((​​ to search in all types of blocks
type: l
subtype: u
ial: {: id="20230420123242-7uymi9i" updated="20230820102811"}
created: 20230420123242
updated: 20230820102811
markdown:
* Use `((`​​ to search in ((20200924101225-k254i8g "all types of blocks"))
* Use `[[`​ to search only ((20210104091538-clx67q4 "doc blocks"))


id: 20220623201008-5f0sylr
parent_id: 20220623201008-0h3iwvb
root_id: 20200924101256-f8b1sbi
hash: 31cccc6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: id="20220623201008-5f0sylr" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
In addition to using (( to trigger a reference search, you can also use the syntax ((id "anchor text")) directly.

markdown:
In addition to using `((` to trigger a reference search, you can also use the syntax `((id "anchor text"))` directly.


id: 20220623201008-7waqp1i
parent_id: 20220623201008-0h3iwvb
root_id: 20200924101256-f8b1sbi
hash: f80ea2f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
fcontent: Use " to wrap anchor text as static anchor text
type: l
subtype: u
ial: {: id="20220623201008-7waqp1i" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Use " to wrap anchor text as static anchor text Use ' to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt

markdown:
* Use `"` to wrap anchor text as static anchor text
* Use `'` to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt


id: 20220623201008-ua4wzzm
parent_id: 20220623201008-7waqp1i
root_id: 20200924101256-f8b1sbi
hash: 08aefec
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: i
subtype: u
ial: {: id="20220623201008-ua4wzzm" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
 Use ' to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt

fcontent:
Use ' to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt

markdown:
* Use `'` to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt


id: 20220623201008-sh8z9bb
parent_id: 20220623201008-ua4wzzm
root_id: 20200924101256-f8b1sbi
hash: b7e49b5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: id="20220623201008-sh8z9bb" updated="20220623201008"}
created: 20220623201008
updated: 20220623201008
content:
Use ' to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt

markdown:
Use `'` to wrap anchor text as dynamic anchor text, it will be automatically rewritten when the index is rebuilt


id: 20220623201008-zjpwqy3
parent_id: 20220623201008-0h3iwvb
root_id: 20200924101256-f8b1sbi
hash: 7e1b908
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101256-f8b1sbi.sy
hpath: /Please Start Here/Content Block/Ref Content Block
type: p
ial: {: updated="20220623201008" id="20220623201008-zjpwqy3"}
created: 20220623201008
updated: 20220623201008
content:
The main scenario of using the syntax directly is to create a reference through an external tool or API. In most cases, we mainly use (( to trigger a reference search to create a reference.

markdown:
The main scenario of using the syntax directly is to create a reference through an external tool or API. In most cases, we mainly use `((` to trigger a reference search to create a reference.


id: 20210111230452-5lclhuo
parent_id: 20201224120448-6jnrawi
root_id: 20201117112518-dott91x
hash: a292887
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
tag: #Content Block/Embed#
type: p
ial: {: id="20210111230452-5lclhuo" updated="20220623201506"}
created: 20210111230452
updated: 20220623201506
content:
The embed content block is mainly used to summarize the required content blocks, use {{ and }} to wrap SQL scripts on a single line: {{ SELECT * FROM blocks WHERE content LIKE'%Keyword%' }}, database table please refer to here. #Content Block/Embed#

markdown:
The embed content block is mainly used to summarize the required content blocks, use `{{` and `}}` to wrap SQL scripts on a single line: `{{ SELECT * FROM blocks WHERE content LIKE'%Keyword%' }}`, database table please refer to ((20201117103851-gx21lz6 "here")). #Content Block/Embed#


id: 20201224120448-2uaiqr9
parent_id: 20201224120448-8ew9ane
root_id: 20201117112518-dott91x
hash: 3259c3a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
fcontent: Query list items that contain content block:
type: l
subtype: u
ial: {: id="20201224120448-2uaiqr9" updated="20210503152127"}
created: 20201224120448
updated: 20210503152127
content:
 Query list items that contain content block:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND type = 'i' }}
 The query content contains both content block and reference paragraph blocks:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}
 The query content contains heading blocks of both content block and embed, and the first 2 items are selected in descending order of update time:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}

markdown:
* Query list items that contain `content block`:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND type = 'i' }}
  ```
* The query content contains both `content block` and `reference` paragraph blocks:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}
  ```
* The query content contains heading blocks of both `content block` and `embed`, and the first 2 items are selected in descending order of update time:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}
  ```


id: 20201224120448-wkokoaj
parent_id: 20201224120448-2uaiqr9
root_id: 20201117112518-dott91x
hash: ad889fc
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
fcontent: Query list items that contain content block:
type: i
subtype: u
ial: {: id="20201224120448-wkokoaj"}
created: 20201224120448
content:
 Query list items that contain content block:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND type = 'i' }}

markdown:
* Query list items that contain `content block`:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND type = 'i' }}
  ```


id: 20201224120448-4ke7k9b
parent_id: 20201224120448-2uaiqr9
root_id: 20201117112518-dott91x
hash: b41f61f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
fcontent: The query content contains both content block and reference paragraph blocks:
type: i
subtype: u
ial: {: id="20201224120448-4ke7k9b"}
created: 20201224120448
content:
 The query content contains both content block and reference paragraph blocks:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}

markdown:
* The query content contains both `content block` and `reference` paragraph blocks:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}
  ```


id: 20201224120448-bzzavtn
parent_id: 20201224120448-4ke7k9b
root_id: 20201117112518-dott91x
hash: 9b12d59
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: c
ial: {: id="20201224120448-bzzavtn"}
created: 20201224120448
content:
{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}

markdown:
```sql
{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%reference%' AND type = 'p') }}
```


id: 20201224120448-n2nsjie
parent_id: 20201224120448-2uaiqr9
root_id: 20201117112518-dott91x
hash: 582b5d2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: i
subtype: u
ial: {: id="20201224120448-n2nsjie"}
created: 20201224120448
content:
 The query content contains heading blocks of both content block and embed, and the first 2 items are selected in descending order of update time:{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}

fcontent:
The query content contains heading blocks of both content block and embed, and the first 2 items are selected in descending order of update time:

markdown:
* The query content contains heading blocks of both `content block` and `embed`, and the first 2 items are selected in descending order of update time:

  ```sql
  {{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}
  ```


id: 20201224120448-whs65cs
parent_id: 20201224120448-n2nsjie
root_id: 20201117112518-dott91x
hash: 4de35ba
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: p
ial: {: id="20201224120448-whs65cs" updated="20210503152045"}
created: 20201224120448
updated: 20210503152045
content:
The query content contains heading blocks of both content block and embed, and the first 2 items are selected in descending order of update time:

markdown:
The query content contains heading blocks of both `content block` and `embed`, and the first 2 items are selected in descending order of update time:


id: 20201224120448-x2jp7sk
parent_id: 20201224120448-n2nsjie
root_id: 20201117112518-dott91x
hash: 98adada
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: c
ial: {: id="20201224120448-x2jp7sk"}
created: 20201224120448
content:
{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}

markdown:
```sql
{{ SELECT * FROM blocks WHERE content LIKE '%content block%' AND content LIKE '%embed%' AND type ='h' ORDER BY updated DESC LIMIT 2 }}
```


id: 20201224120448-9gbg6ot
parent_id: 20201224120448-vagdm2b
root_id: 20201117112518-dott91x
hash: c19b913
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: p
ial: {: id="20201224120448-9gbg6ot"}
created: 20201224120448
content:
The query contains paragraph blocks of both In SiYuan and core concept text, and excludes the current document (otherwise the paragraph block will also be included in the result set, because the current paragraph also contains these two texts. The following case is similar):

markdown:
The query contains paragraph blocks of both `In SiYuan` and `core concept` text, and excludes the current document (otherwise the paragraph block will also be included in the result set, because the current paragraph also contains these two texts. The following case is similar):


id: 20210111231445-gwfrxnl
parent_id: 20201224120448-vagdm2b
root_id: 20201117112518-dott91x
hash: 17d4ef0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: query_embed
ial: {: id="20210111231445-gwfrxnl" updated="20211222185405"}
created: 20210111231445
updated: 20211222185405
content:
In SiYuan, the only important core concept is Content block. The content block can be formed through the formatting format, so that we can organize our thoughts and knowledge at the block-level granularity, and it is also convenient for reading and outputting long content.

markdown:
{{SELECT * FROM blocks WHERE content LIKE '%In SiYuan%' AND content LIKE '%core concept%' AND hpath NOT LIKE '%Embed Content Block%'}}


id: 20201224120448-e0ohbtq
parent_id: 20201224120448-gx2xvjh
root_id: 20201117112518-dott91x
hash: 2d74942
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
content: Query paragraph blocks that contain both tags #Content Block/Embed# and #Content Block/Reference#:
type: p
ial: {: id="20201224120448-e0ohbtq" updated="20220623201429"}
created: 20201224120448
updated: 20220623201429
markdown:
Query paragraph blocks that contain both tags `#Content Block/Embed#` and `#Content Block/Reference#`:


id: 20201224120448-ww21jau
parent_id: 20201224120448-gx2xvjh
root_id: 20201117112518-dott91x
hash: 30bcdb5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: query_embed
ial: {: id="20201224120448-ww21jau" updated="20211222185418"}
created: 20201224120448
updated: 20211222185418
content:
After entering ((, the content block reference search will be triggered. Continue to input as the search keyword. In the search results, use the up and down keys to select and press Enter to complete the content block reference. After the content block reference is established, hover the mouse. After the anchor text is placed, the preview layer will pop up, showing the referenced content block (definition block). #Content Block/Reference#

markdown:
{{SELECT * FROM blocks WHERE (content LIKE '%#Content block/Embed#%' OR content LIKE '%#Content block/Reference#%') AND hpath NOT LIKE '%Embed Content Block%'}}


id: 20201224120448-bmpyxnj
parent_id: 20201224120448-508mr48
root_id: 20201117112518-dott91x
hash: debc921
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
markdown: {{SELECT * FROM blocks ORDER BY random() LIMIT 3}}
type: query_embed
ial: {: id="20201224120448-bmpyxnj"}
created: 20201224120448
content:
 Import Key: Copy the key string from another device to this paste and import Auto-generate key: Use random text to generate the key, this method only needs to be executed once on one device, and other devices use Import key Generate key by passphrase: Use a custom passphrase to generate the key, which requires the same passphrase on all devices Click the Confirm button Input title


id: 20210630172530-nyer3fx
parent_id: 20210630172523-9xe9jj2
root_id: 20201117112518-dott91x
hash: 91a97f2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201117112518-dott91x.sy
hpath: /Please Start Here/Content Block/Embed Content Block
type: p
ial: {: id="20210630172530-nyer3fx" updated="20210630172540"}
created: 20210630172530
updated: 20210630172540
content:
To query the unfinished task list items, you need to use the markdown field instead of the content field:

markdown:
To query the unfinished task list items, you need to use the `markdown` field instead of the `content` field:


id: 20210613191548-o34mmas
parent_id: 20210613191548-b394bll
root_id: 20210613191509-cbkxcbz
hash: 5e60a6e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20210613191509-cbkxcbz.sy
hpath: /Please Start Here/Content Block/Content Block Attribute
type: p
ial: {: updated="20210613191548" id="20210613191548-o34mmas"}
created: 20210613191548
updated: 20210613191548
content:
Attributes exist in the form of key-value pairs. We can enrich the connotation of the content block by setting attributes on the content block. Attributes are divided into built-in attributes and custom attributes.

markdown:
Attributes exist in the form of key-value pairs. We can enrich the connotation of the content block by setting attributes on the content block. Attributes are divided into built-in attributes and custom attributes.


id: 20210613191548-n6dt4hc
parent_id: 20210613191548-ckua3q3
root_id: 20210613191509-cbkxcbz
hash: a246b53
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20210613191509-cbkxcbz.sy
hpath: /Please Start Here/Content Block/Content Block Attribute
type: t
ial: {: id="20210613191548-n6dt4hc" updated="20210613191633"}
created: 20210613191548
updated: 20210613191633
content:
Property name Description name Name of the content block alias Alias of content block memo Memo of the content block bookmark Bookmark of content block

markdown:
|Property name|Description|
| :-------------: | ---------------------------|
|name|Name of the content block|
|alias|Alias of content block|
|memo|Memo of the content block|
|bookmark|Bookmark of content block|


id: 20210613191548-7p2bvoq
parent_id: 20210613191548-65gd8yo
root_id: 20210613191509-cbkxcbz
hash: 7120e28
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20210613191509-cbkxcbz.sy
hpath: /Please Start Here/Content Block/Content Block Attribute
type: p
ial: {: id="20210613191548-7p2bvoq" updated="20210613191746"}
created: 20210613191548
updated: 20210613191746
content:
The user-defined attributes are set by the user through the Block icon menu -Attribute, and only English letters and Arabic numerals are allowed in the attribute name (such as doing, 7days). After setting, SiYuan will automatically prefix the attribute name with custom- to distinguish built-in attributes from custom attributes.

markdown:
The user-defined attributes are set by the user through the `Block icon menu` -`Attribute`, and only English letters and Arabic numerals are allowed in the attribute name (such as `doing`, `7days`). After setting, SiYuan will automatically prefix the attribute name with `custom-` to distinguish built-in attributes from custom attributes.


id: 20210613191548-h0zl261
parent_id: 20210613191548-ihlwok9
root_id: 20210613191509-cbkxcbz
hash: 01a3f21
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20210613191509-cbkxcbz.sy
hpath: /Please Start Here/Content Block/Content Block Attribute
type: p
ial: {: id="20210613191548-h0zl261" updated="20210613191548"}
created: 20210613191548
updated: 20210613191548
content:
For example, when we set the properties of progress=30 and priority=2 for the content block, we can query all content blocks with a progress of 30 and a priority of 2 through SQL:

markdown:
For example, when we set the properties of `progress=30` and `priority=2` for the content block, we can query all content blocks with a progress of 30 and a priority of 2 through SQL:


id: 20210613191548-vaj5jsf
parent_id: 20210613191548-ihlwok9
root_id: 20210613191509-cbkxcbz
hash: 9264d14
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20210613191509-cbkxcbz.sy
hpath: /Please Start Here/Content Block/Content Block Attribute
type: c
ial: {: id="20210613191548-vaj5jsf" updated="20210613191548"}
created: 20210613191548
updated: 20210613191548
content:
SELECT *
FROM blocks
WHERE id IN (
    SELECT block_id
    FROM attributes AS a
    WHERE (a.name ='custom-progress' AND a.value = '30')
       OR (a.name ='custom-priority' AND a.value = '2')
    GROUP BY block_id
    HAVING count(block_id) = 2
);

markdown:
```sql
SELECT *
FROM blocks
WHERE id IN (
    SELECT block_id
    FROM attributes AS a
    WHERE (a.name ='custom-progress' AND a.value = '30')
       OR (a.name ='custom-priority' AND a.value = '2')
    GROUP BY block_id
    HAVING count(block_id) = 2
);
```


id: 20201210233038-3xr19g5
root_id: 20201210233038-3xr19g5
hash: cf91645
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
content: Conversion of Document and Heading
fcontent: Conversion of Document and Heading
type: d
created: 20201210233038
updated: 20211223192545
ial:
{: id="20201210233038-3xr19g5" title="Conversion of Document and Heading" type="doc" updated="20211223192545"}


id: 20210104091550-0izuikh
parent_id: 20210104091550-oyzs64s
root_id: 20201210233038-3xr19g5
hash: cdb64c2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: p
ial: {: id="20210104091550-0izuikh"}
created: 20210104091550
content:
So we can convert between the document block and the heading block. In addition, because the content block is referenced based on id, the conversion process will not break the existing reference relationship.

markdown:
So we can convert between the document block and the heading block. In addition, because the content block is referenced based on id, the conversion process will not break the existing reference relationship.


id: 20210104091550-rbetlgr
parent_id: 20210104091550-5sh49go
root_id: 20201210233038-3xr19g5
hash: 2cd97bb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: p
ial: {: id="20210104091550-rbetlgr"}
created: 20210104091550
content:
In the doc tree, select the document that needs to be converted into a heading block, and then drag it to the position to be inserted in the editor tab. There are two situations here:

markdown:
In the doc tree, select the document that needs to be converted into a heading block, and then drag it to the position to be inserted in the editor tab. There are two situations here:


id: 20210104091550-qfc4zlm
parent_id: 20210104091550-5sh49go
root_id: 20201210233038-3xr19g5
hash: 548911b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: l
subtype: o
ial: {: id="20210104091550-qfc4zlm"}
created: 20210104091550
content:
 Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block Place the document block on a non-heading block, and the document block will be inserted as a child node of the heading block to which the block belongs

fcontent:
Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block

markdown:
1. Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block
2. Place the document block on a non-heading block, and the document block will be inserted as a child node of the heading block to which the block belongs


id: 20210104091550-12grx1a
parent_id: 20210104091550-qfc4zlm
root_id: 20201210233038-3xr19g5
hash: eea7a87
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: o
ial: {: id="20210104091550-12grx1a"}
created: 20210104091550
content:
 Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block

fcontent:
Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block

markdown:
1. Place the document block on the existing heading block, and the document block will be inserted below as the level node of the heading block


id: 20210104091550-a5hh8bg
parent_id: 20210104091550-qfc4zlm
root_id: 20201210233038-3xr19g5
hash: 5138aab
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: o
ial: {: id="20210104091550-a5hh8bg"}
created: 20210104091550
content:
 Place the document block on a non-heading block, and the document block will be inserted as a child node of the heading block to which the block belongs

fcontent:
Place the document block on a non-heading block, and the document block will be inserted as a child node of the heading block to which the block belongs

markdown:
2. Place the document block on a non-heading block, and the document block will be inserted as a child node of the heading block to which the block belongs


id: 20210104091550-zq0ph0f
parent_id: 20210104091550-5sh49go
root_id: 20201210233038-3xr19g5
hash: 90a143f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
fcontent: The original document name will become the heading name
type: l
subtype: u
ial: {: id="20210104091550-zq0ph0f"}
created: 20210104091550
content:
 The original document name will become the heading name Logically, the document block is a first-level title, and the relative level will be changed according to the insertion position Each heading level in the original document will be adjusted according to the insertion position For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings

markdown:
* The original document name will become the heading name
* Logically, the document block is a first-level title, and the relative level will be changed according to the insertion position
* Each heading level in the original document will be adjusted according to the insertion position

  * For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings
  * For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings


id: 20210104091550-hi3ky7o
parent_id: 20210104091550-zq0ph0f
root_id: 20201210233038-3xr19g5
hash: d32f4d5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: u
ial: {: id="20210104091550-hi3ky7o"}
created: 20210104091550
content:
 Logically, the document block is a first-level title, and the relative level will be changed according to the insertion position

fcontent:
Logically, the document block is a first-level title, and the relative level will be changed according to the insertion position

markdown:
* Logically, the document block is a first-level title, and the relative level will be changed according to the insertion position


id: 20210104091550-cumad9i
parent_id: 20210104091550-zq0ph0f
root_id: 20201210233038-3xr19g5
hash: 359f591
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
fcontent: Each heading level in the original document will be adjusted according to the insertion position
type: i
subtype: u
ial: {: id="20210104091550-cumad9i"}
created: 20210104091550
content:
 Each heading level in the original document will be adjusted according to the insertion position For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings

markdown:
* Each heading level in the original document will be adjusted according to the insertion position

  * For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings
  * For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings


id: 20210104091550-rbvitpg
parent_id: 20210104091550-cumad9i
root_id: 20201210233038-3xr19g5
hash: 79cfada
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: l
subtype: u
ial: {: id="20210104091550-rbvitpg"}
created: 20210104091550
content:
 For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings

fcontent:
For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings

markdown:
* For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings
* For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings


id: 20210104091550-q8xxl8s
parent_id: 20210104091550-rbvitpg
root_id: 20201210233038-3xr19g5
hash: fd9f88b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: u
ial: {: id="20210104091550-q8xxl8s"}
created: 20210104091550
content:
 For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings

fcontent:
For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings

markdown:
* For the above situation 1: For example, if the original document contains the first, second, and third level headings, and the insertion position is a second-level heading, the heading block after the document block conversion will be a second-level heading. Level 3 headings will become Level 2, 3, and 4 headings


id: 20210104091550-ks1lqvh
parent_id: 20210104091550-rbvitpg
root_id: 20201210233038-3xr19g5
hash: 22ae542
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: u
ial: {: id="20210104091550-ks1lqvh"}
created: 20210104091550
content:
 For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings

fcontent:
For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings

markdown:
* For the second case above: For example, the original document contains headings of level 1, 2, and 3, and the insertion position is a paragraph block under a level 2 heading. The heading block after the conversion of the document block will be a level 3 heading. Level 1, 2, and 3 headings will become Level 3, 4, and 5 headings


id: 20210104091550-1pe70bg
parent_id: 20210104091550-fualfrs
root_id: 20201210233038-3xr19g5
hash: b5d6435
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: p
ial: {: id="20210104091550-1pe70bg"}
created: 20210104091550
content:
In the editor tab, select the heading block to be converted, press and hold the heading block icon, and then drag it to the folder to be placed in the doc tree. If you need to place it on the notebook root folder, drag the heading block icon to the top notebook icon row.

markdown:
In the editor tab, select the heading block to be converted, press and hold the heading block icon, and then drag it to the folder to be placed in the doc tree. If you need to place it on the notebook root folder, drag the heading block icon to the top notebook icon row.


id: 20210104091550-nsd8w2j
parent_id: 20210104091550-fualfrs
root_id: 20201210233038-3xr19g5
hash: 41b0a68
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
fcontent: The heading name will become the document name
type: l
subtype: u
ial: {: id="20210104091550-nsd8w2j"}
created: 20210104091550
content:
 The heading name will become the document name If there are subtitles under the original heading block, the largest level of these subtitles will be used as the first level of the new document, and the remaining subtitles will be adjusted according to the relative level For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block

markdown:
* The heading name will become the document name
* If there are subtitles under the original heading block, the largest level of these subtitles will be used as the first level of the new document, and the remaining subtitles will be adjusted according to the relative level

  * For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block


id: 20210104091550-s2nrev0
parent_id: 20210104091550-nsd8w2j
root_id: 20201210233038-3xr19g5
hash: cd2f85a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: i
subtype: u
ial: {: id="20210104091550-s2nrev0"}
created: 20210104091550
content:
 If there are subtitles under the original heading block, the largest level of these subtitles will be used as the first level of the new document, and the remaining subtitles will be adjusted according to the relative level For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block

fcontent:
If there are subtitles under the original heading block, the largest level of these subtitles will be used as the first level of the new document, and the remaining subtitles will be adjusted according to the relative level

markdown:
* If there are subtitles under the original heading block, the largest level of these subtitles will be used as the first level of the new document, and the remaining subtitles will be adjusted according to the relative level

  * For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block


id: 20210104091550-c8bmph5
parent_id: 20210104091550-s2nrev0
root_id: 20201210233038-3xr19g5
hash: c5edb3f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-6yi0dv5/20201210233038-3xr19g5.sy
hpath: /Please Start Here/Content Block/Conversion of Document and Heading
type: l
subtype: u
ial: {: id="20210104091550-c8bmph5"}
created: 20210104091550
content:
 For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block

fcontent:
For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block

markdown:
* For example, the original heading block contains three, four, and five levels of subtitles, and these subtitles will be converted into one, two, and three levels after being converted into a document block


id: 20220628215200-yi30jo7
parent_id: 20220628215200-ngjb7uu
root_id: 20220628204454-hhxohv5
hash: b18a332
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20220628204454-hhxohv5.sy
hpath: /Please Start Here/Editor/Optimize typography
type: p
ial: {: updated="20220628215227" id="20220628215200-yi30jo7"}
created: 20220628215200
updated: 20220628215227
content:
In order to record the content quickly, we often ignore some typographic details, such as the lack of spaces before and after inline codes or bolds, and the lack of spaces between Chinese and Western texts.

markdown:
In order to record the content quickly, we often ignore some typographic details, such as the lack of spaces before and after inline codes or bolds, and the lack of spaces between Chinese and Western texts.


id: 20220628215200-o0bidjn
parent_id: 20220628215200-ngjb7uu
root_id: 20220628204454-hhxohv5
hash: 8b28ab3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20220628204454-hhxohv5.sy
hpath: /Please Start Here/Editor/Optimize typography
type: p
ial: {: id="20220628215200-o0bidjn" updated="20220628215255"}
created: 20220628215200
updated: 20220628215255
content:
This will cause the content typography to look less refined, and there will be some visual distraction when browsing the content in the future. Of course, this is just our feeling, maybe this is not a problem, and even such a compact typesetting is needed in the first place.

markdown:
This will cause the content typography to look less refined, and there will be some visual distraction when browsing the content in the future. Of course, this is just our feeling, maybe this is not a problem, and even such a compact typesetting is needed in the first place.


id: 20220628215200-11bzo6r
parent_id: 20220628215200-efn43ah
root_id: 20220628204454-hhxohv5
hash: 2a513ae
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20220628204454-hhxohv5.sy
hpath: /Please Start Here/Editor/Optimize typography
type: p
ial: {: id="20220628215200-11bzo6r" updated="20220628215200"}
created: 20220628215200
updated: 20220628215200
content:
Select Optimized Typesetting in the ... menu in the upper right corner of the editor. After processing, a space will be automatically inserted before and after the following elements in the document:

markdown:
Select <kbd>Optimized Typesetting</kbd> in the <kbd>...</kbd> menu in the upper right corner of the editor. After processing, a space will be automatically inserted before and after the following elements in the document:


id: 20220630211201-ggozvjz
parent_id: 20220628215200-efn43ah
root_id: 20220628204454-hhxohv5
hash: 1dec4b0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20220628204454-hhxohv5.sy
hpath: /Please Start Here/Editor/Optimize typography
type: p
ial: {: id="20220630211201-ggozvjz" updated="20220630211201"}
created: 20220630211201
updated: 20220630211201
content:
In addition, a space will be automatically inserted between Chinese and Western languages in the following elements:

markdown:
In addition, a space will be automatically inserted between Chinese and Western languages in the following elements:


id: 20220628215200-dkde3is
parent_id: 20220628215200-f974ft7
root_id: 20220628204454-hhxohv5
hash: 42f24d1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20220628204454-hhxohv5.sy
hpath: /Please Start Here/Editor/Optimize typography
type: p
ial: {: id="20220628215200-dkde3is" updated="20220628215421"}
created: 20220628215200
updated: 20220628215421
content:
Before the actual execution of optimized typesetting, SiYuan will automatically back up the original document once, so that if the optimization result is not satisfied, it can be rolled back through Data history.

markdown:
Before the actual execution of optimized typesetting, SiYuan will automatically back up the original document once, so that if the optimization result is not satisfied, it can be rolled back through ((20210615213222-vs5tzbd "Data history")).


id: 20230417141558-see765c
parent_id: 20220806105232-qhlgs5w
root_id: 20200924095938-a9p5450
hash: 365c0bc
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
fcontent: Go to Settings​ - Appearance​ and click Code Snippet​, select CSS tab
type: l
subtype: o
ial: {: id="20230417141558-see765c" updated="20230417141811"}
created: 20230417141558
updated: 20230417141811
content:
 Go to Settings​ - Appearance​ and click  Code Snippet​, select CSS tab Input title According to the theme and the variables in theme.css, refer to the following writing method to encode and fill in the code snippethtml[data-light-theme="daylight"][data-theme-mode="light"] {
    --b3-theme-primary: red;
}

html[data-light-theme="daylight"][data-theme-mode="dark"] {
    --b3-theme-primary: blue;
}
 Enable this code snippet Click the Confirm button

markdown:
1. Go to <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ and click  <kbd>Code Snippet</kbd>​, select CSS tab
2. Input title
3. According to the theme and the variables in theme.css, refer to the following writing method to encode and fill in the code snippet

    ```css
    html[data-light-theme="daylight"][data-theme-mode="light"] {
        --b3-theme-primary: red;
    }

    html[data-light-theme="daylight"][data-theme-mode="dark"] {
        --b3-theme-primary: blue;
    }
    ```
4. Enable this code snippet
5. Click the Confirm button


id: 20230417141558-d8vl4m7
parent_id: 20230417141558-see765c
root_id: 20200924095938-a9p5450
hash: 5786b20
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Go to Settings​ - Appearance​ and click Code Snippet​, select CSS tab
fcontent: Go to Settings​ - Appearance​ and click Code Snippet​, select CSS tab
type: i
subtype: o
ial: {: id="20230417141558-d8vl4m7" updated="20230417141558"}
created: 20230417141558
updated: 20230417141558
markdown:
1. Go to <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ and click  <kbd>Code Snippet</kbd>​, select CSS tab


id: 20230417141558-f6keda3
parent_id: 20230417141558-d8vl4m7
root_id: 20200924095938-a9p5450
hash: 53f3b99
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Go to Settings​ - Appearance​ and click Code Snippet​, select CSS tab
type: p
ial: {: updated="20230417141653" id="20230417141558-f6keda3"}
created: 20230417141558
updated: 20230417141653
markdown:
Go to <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ and click  <kbd>Code Snippet</kbd>​, select CSS tab


id: 20230417141558-bmkmmsg
parent_id: 20230417141558-see765c
root_id: 20200924095938-a9p5450
hash: 2a9fc0a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: i
subtype: o
ial: {: id="20230417141558-bmkmmsg" updated="20230417141811"}
created: 20230417141558
updated: 20230417141811
content:
 According to the theme and the variables in theme.css, refer to the following writing method to encode and fill in the code snippethtml[data-light-theme="daylight"][data-theme-mode="light"] {
    --b3-theme-primary: red;
}

html[data-light-theme="daylight"][data-theme-mode="dark"] {
    --b3-theme-primary: blue;
}

fcontent:
According to the theme and the variables in theme.css, refer to the following writing method to encode and fill in the code snippet

markdown:
3. According to the theme and the variables in theme.css, refer to the following writing method to encode and fill in the code snippet

    ```css
    html[data-light-theme="daylight"][data-theme-mode="light"] {
        --b3-theme-primary: red;
    }

    html[data-light-theme="daylight"][data-theme-mode="dark"] {
        --b3-theme-primary: blue;
    }
    ```


id: 20230417141558-79fewv8
parent_id: 20230417141558-bmkmmsg
root_id: 20200924095938-a9p5450
hash: b837e7b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: c
ial: {: id="20230417141558-79fewv8" updated="20230417141558"}
created: 20230417141558
updated: 20230417141558
content:
html[data-light-theme="daylight"][data-theme-mode="light"] {
    --b3-theme-primary: red;
}

html[data-light-theme="daylight"][data-theme-mode="dark"] {
    --b3-theme-primary: blue;
}

markdown:
```css
html[data-light-theme="daylight"][data-theme-mode="light"] {
    --b3-theme-primary: red;
}

html[data-light-theme="daylight"][data-theme-mode="dark"] {
    --b3-theme-primary: blue;
}
```


id: 20201225221416-chyd31p
parent_id: 20201225221416-enetgqg
root_id: 20200924095938-a9p5450
hash: 1f0c94e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: l
subtype: u
ial: {: updated="20230418094552" id="20201225221416-chyd31p"}
created: 20201225221416
updated: 20230418094552
content:
 In Settings​ - Appearance​ - Marketplace​ - Theme​, browse online themes contributed by community developers Choose the required theme to install or update online

fcontent:
In Settings​ - Appearance​ - Marketplace​ - Theme​, browse online themes contributed by community developers

markdown:
* In <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Theme</kbd>​, browse online themes contributed by community developers
* Choose the required theme to install or update online


id: 20201225221416-fwq6l32
parent_id: 20201225221416-chyd31p
root_id: 20200924095938-a9p5450
hash: f2868ab
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: i
subtype: u
ial: {: id="20201225221416-fwq6l32" updated="20230418094552"}
created: 20201225221416
updated: 20230418094552
content:
 In Settings​ - Appearance​ - Marketplace​ - Theme​, browse online themes contributed by community developers

fcontent:
In Settings​ - Appearance​ - Marketplace​ - Theme​, browse online themes contributed by community developers

markdown:
* In <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Theme</kbd>​, browse online themes contributed by community developers


id: 20210131162108-dtskbvb
parent_id: 20201225221416-fwq6l32
root_id: 20200924095938-a9p5450
hash: 9b84093
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: p
ial: {: id="20210131162108-dtskbvb" updated="20230418094552"}
created: 20210131162108
updated: 20230418094552
content:
In Settings​ - Appearance​ - Marketplace​ - Theme​, browse online themes contributed by community developers

markdown:
In <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Theme</kbd>​, browse online themes contributed by community developers


id: 20201225221416-5jel77s
parent_id: 20201225221416-aotw0re
root_id: 20200924095938-a9p5450
hash: 086fdce
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
fcontent: Get the theme from somewhere and unzip it
type: l
subtype: o
ial: {: id="20201225221416-5jel77s"}
created: 20201225221416
content:
 Get the theme from somewhere and unzip it Settings - Appearance - Theme - Open the theme folder Copy the theme to this folder Restart, select the desired theme in Settings - Appearance - Theme

markdown:
1. Get the theme from somewhere and unzip it
2. <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd> - <kbd>Open the theme folder</kbd>
3. Copy the theme to this folder
4. Restart, select the desired theme in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd>


id: 20201225221416-o84sp4q
parent_id: 20201225221416-5jel77s
root_id: 20200924095938-a9p5450
hash: e4309b0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Settings - Appearance - Theme - Open the theme folder
fcontent: Settings - Appearance - Theme - Open the theme folder
type: i
subtype: o
ial: {: id="20201225221416-o84sp4q"}
created: 20201225221416
markdown:
2. <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd> - <kbd>Open the theme folder</kbd>


id: 20201225221416-i8ic233
parent_id: 20201225221416-5jel77s
root_id: 20200924095938-a9p5450
hash: e6584d6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Restart, select the desired theme in Settings - Appearance - Theme
fcontent: Restart, select the desired theme in Settings - Appearance - Theme
type: i
subtype: o
ial: {: id="20201225221416-i8ic233"}
created: 20201225221416
markdown:
4. Restart, select the desired theme in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd>


id: 20201225174048-zqtzaox
parent_id: 20201225174048-3qumvw6
root_id: 20200924095938-a9p5450
hash: 6108391
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
fcontent: Give your subject a nice name, such as alice
type: l
subtype: o
ial: {: id="20201225174048-zqtzaox" updated="20230821210921"}
created: 20201225174048
updated: 20230821210921
content:
 Give your subject a nice name, such as alice Settings - Appearance - Theme - Open theme folder Create a new folder alice​ in the opened folder, and create new theme.css​ and theme.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/theme-sample
 Open the theme.css file to start your coding journey Restart, select the installed theme in Settings - Appearance - Theme

markdown:
1. Give your subject a nice name, such as `alice`
2. <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd> - <kbd>Open theme folder</kbd>
3. Create a new folder `alice`​ in the opened folder, and create new `theme.css`​ and `theme.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/theme-sample
4. Open the `theme.css` file to start your coding journey
5. Restart, select the installed theme in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd>


id: 20201225174048-92haint
parent_id: 20201225174048-zqtzaox
root_id: 20200924095938-a9p5450
hash: 5e138a9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: i
subtype: o
ial: {: updated="20230821210921" id="20201225174048-92haint"}
created: 20201225174048
updated: 20230821210921
content:
 Create a new folder alice​ in the opened folder, and create new theme.css​ and theme.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/theme-sample

fcontent:
Create a new folder alice​ in the opened folder, and create new theme.css​ and theme.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/theme-sample

markdown:
3. Create a new folder `alice`​ in the opened folder, and create new `theme.css`​ and `theme.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/theme-sample


id: 20201225174048-fh16r64
parent_id: 20201225174048-92haint
root_id: 20200924095938-a9p5450
hash: 455c62c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: p
ial: {: id="20201225174048-fh16r64" updated="20230821210921"}
created: 20201225174048
updated: 20230821210921
content:
Create a new folder alice​ in the opened folder, and create new theme.css​ and theme.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/theme-sample

markdown:
Create a new folder `alice`​ in the opened folder, and create new `theme.css`​ and `theme.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/theme-sample


id: 20201225174048-sw6gvxg
parent_id: 20201225174048-zqtzaox
root_id: 20200924095938-a9p5450
hash: 6e3fc82
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Restart, select the installed theme in Settings - Appearance - Theme
fcontent: Restart, select the installed theme in Settings - Appearance - Theme
type: i
subtype: o
ial: {: id="20201225174048-sw6gvxg"}
created: 20201225174048
markdown:
5. Restart, select the installed theme in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd>


id: 20201225174048-xii3128
parent_id: 20201225174048-sw6gvxg
root_id: 20200924095938-a9p5450
hash: c2684bc
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
content: Restart, select the installed theme in Settings - Appearance - Theme
type: p
ial: {: id="20201225174048-xii3128" updated="20210512161645"}
created: 20201225174048
updated: 20210512161645
markdown:
Restart, select the installed theme in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Theme</kbd>


id: 20201225174048-g8oxi84
parent_id: 20201225174048-5e5cg0p
root_id: 20200924095938-a9p5450
hash: 3e24f79
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
fcontent: Familiar with CSS https://developer.mozilla.org/en-US/docs/Web/CSS basic knowledge
type: l
subtype: u
ial: {: id="20201225174048-g8oxi84" updated="20210318104313"}
created: 20201225174048
updated: 20210318104313
content:
 Familiar with CSS https://developer.mozilla.org/en-US/docs/Web/CSS basic knowledge Modify the color scheme in :root{...}. ⚠️ The variable items inherent in the official cannot be deleted Continue to modify according to steps 1-4 in the figure
custom-theme1.png assets/custom-theme1-20210512172253-eqdgnkd.png  Copy and paste the modified content into theme.css and save Check the Disable cache in Network and run window.location.reload() to see the final result
custom-theme2.png assets/custom-theme2-20210512172321-1qkspzd.png 

markdown:
* Familiar with [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) basic knowledge
* Modify the color scheme in `:root{...}`. ⚠️ The variable items inherent in the official cannot be deleted
* Continue to modify according to steps 1-4 in the figure
  ![custom-theme1.png](assets/custom-theme1-20210512172253-eqdgnkd.png)
* Copy and paste the modified content into `theme.css` and save
* Check the `Disable cache` in `Network` and run `window.location.reload()` to see the final result
  ![custom-theme2.png](assets/custom-theme2-20210512172321-1qkspzd.png)


id: 20201225174048-1ocyqbk
parent_id: 20201225174048-g8oxi84
root_id: 20200924095938-a9p5450
hash: 2df2af1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: i
subtype: u
ial: {: id="20201225174048-1ocyqbk"}
created: 20201225174048
content:
 Modify the color scheme in :root{...}. ⚠️ The variable items inherent in the official cannot be deleted

fcontent:
Modify the color scheme in :root{...}. ⚠️ The variable items inherent in the official cannot be deleted

markdown:
* Modify the color scheme in `:root{...}`. ⚠️ The variable items inherent in the official cannot be deleted


id: 20210131162108-nh3eyq7
parent_id: 20201225174048-1ocyqbk
root_id: 20200924095938-a9p5450
hash: 89f86ff
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: p
ial: {: id="20210131162108-nh3eyq7" updated="20210318104316"}
created: 20210131162108
updated: 20210318104316
content:
Modify the color scheme in :root{...}. ⚠️ The variable items inherent in the official cannot be deleted

markdown:
Modify the color scheme in `:root{...}`. ⚠️ The variable items inherent in the official cannot be deleted


id: 20201225174048-c3hch71
parent_id: 20201225174048-g8oxi84
root_id: 20200924095938-a9p5450
hash: 465b6ab
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
fcontent: Continue to modify according to steps 1-4 in the figure custom-theme1.png
type: i
subtype: u
ial: {: id="20201225174048-c3hch71"}
created: 20201225174048
content:
 Continue to modify according to steps 1-4 in the figure
custom-theme1.png assets/custom-theme1-20210512172253-eqdgnkd.png 

markdown:
* Continue to modify according to steps 1-4 in the figure
  ![custom-theme1.png](assets/custom-theme1-20210512172253-eqdgnkd.png)


id: 20210131162108-0cl55js
parent_id: 20201225174048-c3hch71
root_id: 20200924095938-a9p5450
hash: f770ed8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: p
ial: {: updated="20210512172253" id="20210131162108-0cl55js"}
created: 20210131162108
updated: 20210512172253
content:
Continue to modify according to steps 1-4 in the figure
custom-theme1.png assets/custom-theme1-20210512172253-eqdgnkd.png 

markdown:
Continue to modify according to steps 1-4 in the figure
![custom-theme1.png](assets/custom-theme1-20210512172253-eqdgnkd.png)


id: 20201225174048-k5l65hd
parent_id: 20201225174048-g8oxi84
root_id: 20200924095938-a9p5450
hash: 066b81a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: i
subtype: u
ial: {: id="20201225174048-k5l65hd"}
created: 20201225174048
content:
 Check the Disable cache in Network and run window.location.reload() to see the final result
custom-theme2.png assets/custom-theme2-20210512172321-1qkspzd.png 

fcontent:
Check the Disable cache in Network and run window.location.reload() to see the final result
custom-theme2.png 

markdown:
* Check the `Disable cache` in `Network` and run `window.location.reload()` to see the final result
  ![custom-theme2.png](assets/custom-theme2-20210512172321-1qkspzd.png)


id: 20210131162108-ibds25b
parent_id: 20201225174048-k5l65hd
root_id: 20200924095938-a9p5450
hash: 1aebaf4
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924095938-a9p5450.sy
hpath: /Please Start Here/Custom Appearance/Theme
type: p
ial: {: updated="20210512172321" id="20210131162108-ibds25b"}
created: 20210131162108
updated: 20210512172321
content:
Check the Disable cache in Network and run window.location.reload() to see the final result
custom-theme2.png assets/custom-theme2-20210512172321-1qkspzd.png 

markdown:
Check the `Disable cache` in `Network` and run `window.location.reload()` to see the final result
![custom-theme2.png](assets/custom-theme2-20210512172321-1qkspzd.png)


id: 20230418095541-k9npqv9
parent_id: 20230418095541-bsc11b6
root_id: 20200924100110-vcg96wy
hash: c375d49
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: l
subtype: u
ial: {: id="20230418095541-k9npqv9" updated="20230418095622"}
created: 20230418095541
updated: 20230418095622
content:
 Browse icons contributed by community developers online in Settings​ - Appearance​ - Marketplace​ - Icons​ Select the desired icon to install or update online

fcontent:
Browse icons contributed by community developers online in Settings​ - Appearance​ - Marketplace​ - Icons​

markdown:
* Browse icons contributed by community developers online in <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Icons</kbd>​
* Select the desired icon to install or update online


id: 20230418095541-l3xbikd
parent_id: 20230418095541-k9npqv9
root_id: 20200924100110-vcg96wy
hash: 4e5c190
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: i
subtype: u
ial: {: id="20230418095541-l3xbikd" updated="20230418095622"}
created: 20230418095541
updated: 20230418095622
content:
 Browse icons contributed by community developers online in Settings​ - Appearance​ - Marketplace​ - Icons​

fcontent:
Browse icons contributed by community developers online in Settings​ - Appearance​ - Marketplace​ - Icons​

markdown:
* Browse icons contributed by community developers online in <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Icons</kbd>​


id: 20230418095541-uia79kk
parent_id: 20230418095541-l3xbikd
root_id: 20200924100110-vcg96wy
hash: ee45334
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: p
ial: {: id="20230418095541-uia79kk" updated="20230418095622"}
created: 20230418095541
updated: 20230418095622
content:
Browse icons contributed by community developers online in Settings​ - Appearance​ - Marketplace​ - Icons​

markdown:
Browse icons contributed by community developers online in <kbd>Settings</kbd>​ - <kbd>Appearance</kbd>​ - <kbd>Marketplace</kbd>​ - <kbd>Icons</kbd>​


id: 20210104091404-5mpe4db
parent_id: 20210104091404-emngxx4
root_id: 20200924100110-vcg96wy
hash: 2d3cf34
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Get the icon and unzip
type: l
subtype: o
ial: {: id="20210104091404-5mpe4db"}
created: 20210104091404
content:
 Get the icon and unzip Settings - Appearance - Icon - Open Icon Folder Copy the icon to this directory Restart, select the installed icon in Settings - Appearance - Icon

markdown:
1. Get the icon and unzip
2. <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> - <kbd>Open Icon Folder</kbd>
3. Copy the icon to this directory
4. Restart, select the installed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd>


id: 20210104091404-gcbhyp5
parent_id: 20210104091404-5mpe4db
root_id: 20200924100110-vcg96wy
hash: 5f79648
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Restart, select the installed icon in Settings - Appearance - Icon
fcontent: Restart, select the installed icon in Settings - Appearance - Icon
type: i
subtype: o
ial: {: id="20210104091404-gcbhyp5"}
created: 20210104091404
markdown:
4. Restart, select the installed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd>


id: 20210104091404-07yula4
parent_id: 20210104091404-5ele7ot
root_id: 20200924100110-vcg96wy
hash: bc14855
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Give your icon a nice name, such as alice
type: l
subtype: o
ial: {: id="20210104091404-07yula4" updated="20230821210709"}
created: 20210104091404
updated: 20230821210709
content:
 Give your icon a nice name, such as alice Settings - Appearance - Icon - Open Icon Folder Create a new folder alice​ in the opened folder, and create new icon.js​ and icon.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/icon-sample Open the icon.js file and paste the completed icon Restart, select the installed icon in Settings - Appearance - Icon

markdown:
1. Give your icon a nice name, such as `alice`
2. <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> - <kbd>Open Icon Folder</kbd>
3. Create a new folder `alice`​ in the opened folder, and create new `icon.js`​ and `icon.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/icon-sample
4. Open the `icon.js` file and paste the completed icon
5. Restart, select the installed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd>


id: 20210104091404-wdwknqi
parent_id: 20210104091404-07yula4
root_id: 20200924100110-vcg96wy
hash: 406e02a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: i
subtype: o
ial: {: id="20210104091404-wdwknqi" updated="20230821210709"}
created: 20210104091404
updated: 20230821210709
content:
 Create a new folder alice​ in the opened folder, and create new icon.js​ and icon.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/icon-sample

fcontent:
Create a new folder alice​ in the opened folder, and create new icon.js​ and icon.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/icon-sample

markdown:
3. Create a new folder `alice`​ in the opened folder, and create new `icon.js`​ and `icon.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/icon-sample


id: 20210104091404-0errb7b
parent_id: 20210104091404-wdwknqi
root_id: 20200924100110-vcg96wy
hash: abc3270
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: p
ial: {: id="20210104091404-0errb7b" updated="20230821210709"}
created: 20210104091404
updated: 20230821210709
content:
Create a new folder alice​ in the opened folder, and create new icon.js​ and icon.json​ files in alice​, for specific examples, please refer to github repo: siyuan-note/icon-sample

markdown:
Create a new folder `alice`​ in the opened folder, and create new `icon.js`​ and `icon.json`​ files in `alice`​, for specific examples, please refer to github repo: siyuan-note/icon-sample


id: 20210104091404-ivd5l04
parent_id: 20210104091404-07yula4
root_id: 20200924100110-vcg96wy
hash: f5b5c06
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Restart, select the installed icon in Settings - Appearance - Icon
fcontent: Restart, select the installed icon in Settings - Appearance - Icon
type: i
subtype: o
ial: {: id="20210104091404-ivd5l04"}
created: 20210104091404
markdown:
5. Restart, select the installed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd>


id: 20210104091404-ewdyw7f
parent_id: 20210104091404-4c1epvw
root_id: 20200924100110-vcg96wy
hash: 8a78d59
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Use a browser to open the index.html​ file in the icon folder
type: l
subtype: u
ial: {: id="20210104091404-ewdyw7f" updated="20230418095355"}
created: 20210104091404
updated: 20230418095355
content:
 Use a browser to open the index.html​ file in the icon folder Make similar icons based on the icon name and shape Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format Use vector graphics tools to make your own icons in SVG format Go to pngtosvg https://www.pngtosvg.com/ to convert the picture to SVG format Go to IcoMoon App https://icomoon.io/app/#/select to make icon.js​ Click on Import Icons​ in the upper right corner to import the pictures made in the previous step Select the icon and generate SVG
custom-icon1.png assets/custom-icon1-20210512172156-jaoyrnz.png 
 Modify the size and download
custom-icon2.png assets/custom-icon2-20210512172204-dphc486.png 
 Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​ Replace the content in <defs>...</defs>​ to the corresponding position in icon.js​ Test Replace material​ in index.html​ with alice​<script src="material/icon.js"></script>
 Refresh index.html​ to see the final result Open SiYuan and select the developed icon in Settings - Appearance - Icon to view

markdown:
* Use a browser to open the `index.html`​ file in the icon folder
* Make similar icons based on the icon name and shape

  * Go to [Iconfont](https://www.iconfont.cn) to search for your favorite icon and download the SVG format
  * Use vector graphics tools to make your own icons in SVG format
  * Go to [pngtosvg](https://www.pngtosvg.com/) to convert the picture to SVG format
* Go to [IcoMoon App](https://icomoon.io/app/#/select) to make `icon.js`​

  * Click on `Import Icons`​ in the upper right corner to import the pictures made in the previous step
  * Select the icon and generate SVG
    ![custom-icon1.png](assets/custom-icon1-20210512172156-jaoyrnz.png)
  * Modify the size and download
    ![custom-icon2.png](assets/custom-icon2-20210512172204-dphc486.png)
  * Modify the `id`​ in `<symbol id="iconMarkdown" viewBox="0 0 32 32">`​ to the icon name corresponding to `index.html`​
  * Replace the content in `<defs>...</defs>`​ to the corresponding position in `icon.js`​
* Test

  * Replace `material`​ in `index.html`​ with `alice`​

    ```html
    <script src="material/icon.js"></script>
    ```
  * Refresh `index.html`​ to see the final result
  * Open SiYuan and select the developed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> to view


id: 20210104091404-k2l5fm9
parent_id: 20210104091404-ewdyw7f
root_id: 20200924100110-vcg96wy
hash: 373bc2d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Make similar icons based on the icon name and shape
type: i
subtype: u
ial: {: id="20210104091404-k2l5fm9"}
created: 20210104091404
content:
 Make similar icons based on the icon name and shape Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format Use vector graphics tools to make your own icons in SVG format Go to pngtosvg https://www.pngtosvg.com/ to convert the picture to SVG format

markdown:
* Make similar icons based on the icon name and shape

  * Go to [Iconfont](https://www.iconfont.cn) to search for your favorite icon and download the SVG format
  * Use vector graphics tools to make your own icons in SVG format
  * Go to [pngtosvg](https://www.pngtosvg.com/) to convert the picture to SVG format


id: 20210104091404-tv40w1x
parent_id: 20210104091404-k2l5fm9
root_id: 20200924100110-vcg96wy
hash: 532517e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format
type: l
subtype: u
ial: {: id="20210104091404-tv40w1x"}
created: 20210104091404
content:
 Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format Use vector graphics tools to make your own icons in SVG format Go to pngtosvg https://www.pngtosvg.com/ to convert the picture to SVG format

markdown:
* Go to [Iconfont](https://www.iconfont.cn) to search for your favorite icon and download the SVG format
* Use vector graphics tools to make your own icons in SVG format
* Go to [pngtosvg](https://www.pngtosvg.com/) to convert the picture to SVG format


id: 20210104091404-2i6izha
parent_id: 20210104091404-tv40w1x
root_id: 20200924100110-vcg96wy
hash: 25bb2cd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format
type: i
subtype: u
ial: {: id="20210104091404-2i6izha"}
created: 20210104091404
content:
 Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format

markdown:
* Go to [Iconfont](https://www.iconfont.cn) to search for your favorite icon and download the SVG format


id: 20210302223515-tyeicmf
parent_id: 20210104091404-2i6izha
root_id: 20200924100110-vcg96wy
hash: d8b2891
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Go to Iconfont https://www.iconfont.cn to search for your favorite icon and download the SVG format
type: p
ial: {: id="20210302223515-tyeicmf"}
created: 20210302223515
markdown:
Go to [Iconfont](https://www.iconfont.cn) to search for your favorite icon and download the SVG format


id: 20210104091404-dkmivym
parent_id: 20210104091404-ewdyw7f
root_id: 20200924100110-vcg96wy
hash: 074e4f1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Go to IcoMoon App https://icomoon.io/app/#/select to make icon.js​
type: i
subtype: u
ial: {: id="20210104091404-dkmivym" updated="20230418095355"}
created: 20210104091404
updated: 20230418095355
content:
 Go to IcoMoon App https://icomoon.io/app/#/select to make icon.js​ Click on Import Icons​ in the upper right corner to import the pictures made in the previous step Select the icon and generate SVG
custom-icon1.png assets/custom-icon1-20210512172156-jaoyrnz.png 
 Modify the size and download
custom-icon2.png assets/custom-icon2-20210512172204-dphc486.png 
 Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​ Replace the content in <defs>...</defs>​ to the corresponding position in icon.js​

markdown:
* Go to [IcoMoon App](https://icomoon.io/app/#/select) to make `icon.js`​

  * Click on `Import Icons`​ in the upper right corner to import the pictures made in the previous step
  * Select the icon and generate SVG
    ![custom-icon1.png](assets/custom-icon1-20210512172156-jaoyrnz.png)
  * Modify the size and download
    ![custom-icon2.png](assets/custom-icon2-20210512172204-dphc486.png)
  * Modify the `id`​ in `<symbol id="iconMarkdown" viewBox="0 0 32 32">`​ to the icon name corresponding to `index.html`​
  * Replace the content in `<defs>...</defs>`​ to the corresponding position in `icon.js`​


id: 20210104091404-rfqjpsy
parent_id: 20210104091404-dkmivym
root_id: 20200924100110-vcg96wy
hash: 19bfffd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Click on Import Icons​ in the upper right corner to import the pictures made in the previous step
type: l
subtype: u
ial: {: id="20210104091404-rfqjpsy" updated="20230418095355"}
created: 20210104091404
updated: 20230418095355
content:
 Click on Import Icons​ in the upper right corner to import the pictures made in the previous step Select the icon and generate SVG
custom-icon1.png assets/custom-icon1-20210512172156-jaoyrnz.png 
 Modify the size and download
custom-icon2.png assets/custom-icon2-20210512172204-dphc486.png 
 Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​ Replace the content in <defs>...</defs>​ to the corresponding position in icon.js​

markdown:
* Click on `Import Icons`​ in the upper right corner to import the pictures made in the previous step
* Select the icon and generate SVG
  ![custom-icon1.png](assets/custom-icon1-20210512172156-jaoyrnz.png)
* Modify the size and download
  ![custom-icon2.png](assets/custom-icon2-20210512172204-dphc486.png)
* Modify the `id`​ in `<symbol id="iconMarkdown" viewBox="0 0 32 32">`​ to the icon name corresponding to `index.html`​
* Replace the content in `<defs>...</defs>`​ to the corresponding position in `icon.js`​


id: 20210104091404-08zo0iy
parent_id: 20210104091404-rfqjpsy
root_id: 20200924100110-vcg96wy
hash: c76f334
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Click on Import Icons​ in the upper right corner to import the pictures made in the previous step
fcontent: Click on Import Icons​ in the upper right corner to import the pictures made in the previous step
type: i
subtype: u
ial: {: id="20210104091404-08zo0iy" updated="20230418085705"}
created: 20210104091404
updated: 20230418085705
markdown:
* Click on `Import Icons`​ in the upper right corner to import the pictures made in the previous step


id: 20210104091404-qvg4wjs
parent_id: 20210104091404-rfqjpsy
root_id: 20200924100110-vcg96wy
hash: 059a03e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Select the icon and generate SVG custom-icon1.png assets/custom-icon1-20210512172156-jaoyrnz.png
fcontent: Select the icon and generate SVG custom-icon1.png
type: i
subtype: u
ial: {: id="20210104091404-qvg4wjs"}
created: 20210104091404
markdown:
* Select the icon and generate SVG
  ![custom-icon1.png](assets/custom-icon1-20210512172156-jaoyrnz.png)


id: 20210302223515-mcj3t59
parent_id: 20210104091404-qvg4wjs
root_id: 20200924100110-vcg96wy
hash: d4569aa
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Select the icon and generate SVG custom-icon1.png assets/custom-icon1-20210512172156-jaoyrnz.png
type: p
ial: {: updated="20210512172156" id="20210302223515-mcj3t59"}
created: 20210302223515
updated: 20210512172156
markdown:
Select the icon and generate SVG
![custom-icon1.png](assets/custom-icon1-20210512172156-jaoyrnz.png)


id: 20210104091404-eds5a8k
parent_id: 20210104091404-rfqjpsy
root_id: 20200924100110-vcg96wy
hash: d535090
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Modify the size and download custom-icon2.png assets/custom-icon2-20210512172204-dphc486.png
fcontent: Modify the size and download custom-icon2.png
type: i
subtype: u
ial: {: id="20210104091404-eds5a8k"}
created: 20210104091404
markdown:
* Modify the size and download
  ![custom-icon2.png](assets/custom-icon2-20210512172204-dphc486.png)


id: 20210104091404-emihiqw
parent_id: 20210104091404-rfqjpsy
root_id: 20200924100110-vcg96wy
hash: 9cab28c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: i
subtype: u
ial: {: id="20210104091404-emihiqw" updated="20230418095355"}
created: 20210104091404
updated: 20230418095355
content:
 Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​

fcontent:
Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​

markdown:
* Modify the `id`​ in `<symbol id="iconMarkdown" viewBox="0 0 32 32">`​ to the icon name corresponding to `index.html`​


id: 20210302223515-o22v67z
parent_id: 20210104091404-emihiqw
root_id: 20200924100110-vcg96wy
hash: a755fde
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
type: p
ial: {: id="20210302223515-o22v67z" updated="20230418095355"}
created: 20210302223515
updated: 20230418095355
content:
Modify the id​ in <symbol id="iconMarkdown" viewBox="0 0 32 32">​ to the icon name corresponding to index.html​

markdown:
Modify the `id`​ in `<symbol id="iconMarkdown" viewBox="0 0 32 32">`​ to the icon name corresponding to `index.html`​


id: 20210104091404-s8l7xu3
parent_id: 20210104091404-ewdyw7f
root_id: 20200924100110-vcg96wy
hash: a5bb749
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Test
type: i
subtype: u
ial: {: id="20210104091404-s8l7xu3" updated="20230418095324"}
created: 20210104091404
updated: 20230418095324
content:
 Test Replace material​ in index.html​ with alice​<script src="material/icon.js"></script>
 Refresh index.html​ to see the final result Open SiYuan and select the developed icon in Settings - Appearance - Icon to view

markdown:
* Test

  * Replace `material`​ in `index.html`​ with `alice`​

    ```html
    <script src="material/icon.js"></script>
    ```
  * Refresh `index.html`​ to see the final result
  * Open SiYuan and select the developed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> to view


id: 20210104091404-pvo2ori
parent_id: 20210104091404-s8l7xu3
root_id: 20200924100110-vcg96wy
hash: caa1b4e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
fcontent: Replace material​ in index.html​ with alice​
type: l
subtype: u
ial: {: id="20210104091404-pvo2ori" updated="20230418095324"}
created: 20210104091404
updated: 20230418095324
content:
 Replace material​ in index.html​ with alice​<script src="material/icon.js"></script>
 Refresh index.html​ to see the final result Open SiYuan and select the developed icon in Settings - Appearance - Icon to view

markdown:
* Replace `material`​ in `index.html`​ with `alice`​

  ```html
  <script src="material/icon.js"></script>
  ```
* Refresh `index.html`​ to see the final result
* Open SiYuan and select the developed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> to view


id: 20210104091404-0cijd7s
parent_id: 20210104091404-pvo2ori
root_id: 20200924100110-vcg96wy
hash: fb50c69
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Replace material​ in index.html​ with alice​<script src="material/icon.js"></script>
fcontent: Replace material​ in index.html​ with alice​
type: i
subtype: u
ial: {: id="20210104091404-0cijd7s" updated="20230418095320"}
created: 20210104091404
updated: 20230418095320
markdown:
* Replace `material`​ in `index.html`​ with `alice`​

  ```html
  <script src="material/icon.js"></script>
  ```


id: 20210104091404-hgd591a
parent_id: 20210104091404-pvo2ori
root_id: 20200924100110-vcg96wy
hash: 0c39ca3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Open SiYuan and select the developed icon in Settings - Appearance - Icon to view
fcontent: Open SiYuan and select the developed icon in Settings - Appearance - Icon to view
type: i
subtype: u
ial: {: id="20210104091404-hgd591a"}
created: 20210104091404
markdown:
* Open SiYuan and select the developed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> to view


id: 20210104091404-8v71h8q
parent_id: 20210104091404-hgd591a
root_id: 20200924100110-vcg96wy
hash: 1100596
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-axh6q1d/20200924100110-vcg96wy.sy
hpath: /Please Start Here/Custom Appearance/Icon
content: Open SiYuan and select the developed icon in Settings - Appearance - Icon to view
type: p
ial: {: id="20210104091404-8v71h8q"}
created: 20210104091404
markdown:
Open SiYuan and select the developed icon in <kbd>Settings</kbd> - <kbd>Appearance</kbd> - <kbd>Icon</kbd> to view


id: 20210419175558-p7doxbn
parent_id: 20210808180303-h361q1i
root_id: 20210808180303-h361q1i
hash: bee439f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i.sy
hpath: /Please Start Here/Editor
fcontent: Editing and typesetting based on content blocks
type: l
subtype: u
ial: {: id="20210419175558-p7doxbn"}
created: 20210419175558
content:
 Editing and typesetting based on content blocks List outline, support with or without sub-level indentation Content block zoom, that is, each content block can be zoomed into focus Dynamic loading, solving large document jams Horizontal layout by dragging block icon

markdown:
* Editing and typesetting based on content blocks
* List outline, support with or without sub-level indentation
* Content block zoom, that is, each content block can be zoomed into focus
* Dynamic loading, solving large document jams
* Horizontal layout by dragging block icon


id: 20221016204518-dys0ahb
parent_id: 20221016204105-qx2aq0g
root_id: 20221016204105-qx2aq0g
hash: d3df4ed
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20221016204105-qx2aq0g.sy
hpath: /Please Start Here/Editor/Outline by Heading and List
fcontent: List item 1
type: l
subtype: u
ial: {: updated="20221016204723" id="20221016204518-dys0ahb"}
created: 20221016204518
updated: 20221016204723
content:
 List item 1Heading 2A simple paragraph. Blockquote List item in blockquote Sub list item 1 Sub list item 2 Sub list item 1 Sub list item 2 List item 2 Ordered list item 1package main

import "fmt"

func main() {
	fmt.Println("Hello, 世界")
}
 Ordered list item 2

markdown:
* List item 1

  ## Heading 2

  A simple paragraph.

  > Blockquote
  >
  > * List item in blockquote
  >
  >   * Sub list item 1
  >   * Sub list item 2
  >

  * Sub list item 1
  * Sub list item 2
* ## List item 2

  1. Ordered list item 1

      ```go
      package main

      import "fmt"

      func main() {
      	fmt.Println("Hello, 世界")
      }
      ```
  2. Ordered list item 2


id: 20221016204553-uatcq2a
parent_id: 20221016204518-dys0ahb
root_id: 20221016204105-qx2aq0g
hash: 0a2c402
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20221016204105-qx2aq0g.sy
hpath: /Please Start Here/Editor/Outline by Heading and List
fcontent: List item 1
type: i
subtype: u
ial: {: id="20221016204553-uatcq2a" updated="20221016212949"}
created: 20221016204553
updated: 20221016212949
content:
 List item 1Heading 2A simple paragraph. Blockquote List item in blockquote Sub list item 1 Sub list item 2 Sub list item 1 Sub list item 2

markdown:
* List item 1

  ## Heading 2

  A simple paragraph.

  > Blockquote
  >
  > * List item in blockquote
  >
  >   * Sub list item 1
  >   * Sub list item 2
  >

  * Sub list item 1
  * Sub list item 2


id: 20221016204720-q8pq8rd
parent_id: 20221016204518-dys0ahb
root_id: 20221016204105-qx2aq0g
hash: c377955
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20221016204105-qx2aq0g.sy
hpath: /Please Start Here/Editor/Outline by Heading and List
fcontent: List item 2
type: i
subtype: u
ial: {: id="20221016204720-q8pq8rd" updated="20221016204723"}
created: 20221016204720
updated: 20221016204723
content:
 List item 2 Ordered list item 1package main

import "fmt"

func main() {
	fmt.Println("Hello, 世界")
}
 Ordered list item 2

markdown:
* ## List item 2

  1. Ordered list item 1

      ```go
      package main

      import "fmt"

      func main() {
      	fmt.Println("Hello, 世界")
      }
      ```
  2. Ordered list item 2


id: 20221016204724-6kbougw
parent_id: 20221016204720-6qzigum
root_id: 20221016204105-qx2aq0g
hash: 84e3c6e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20221016204105-qx2aq0g.sy
hpath: /Please Start Here/Editor/Outline by Heading and List
fcontent: Ordered list item 1
type: l
subtype: o
ial: {: id="20221016204724-6kbougw" updated="20221016204840"}
created: 20221016204724
updated: 20221016204840
content:
 Ordered list item 1package main

import "fmt"

func main() {
	fmt.Println("Hello, 世界")
}
 Ordered list item 2

markdown:
1. Ordered list item 1

    ```go
    package main

    import "fmt"

    func main() {
    	fmt.Println("Hello, 世界")
    }
    ```
2. Ordered list item 2


id: 20221016204729-79yut5e
parent_id: 20221016204724-6kbougw
root_id: 20221016204105-qx2aq0g
hash: b4ca186
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20221016204105-qx2aq0g.sy
hpath: /Please Start Here/Editor/Outline by Heading and List
content: Ordered list item 1package main import "fmt" func main() { fmt.Println("Hello, 世界") }
fcontent: Ordered list item 1
type: i
subtype: o
ial: {: id="20221016204729-79yut5e" updated="20221016204729"}
created: 20221016204729
updated: 20221016204729
markdown:
1. Ordered list item 1

    ```go
    package main

    import "fmt"

    func main() {
    	fmt.Println("Hello, 世界")
    }
    ```


id: 20201224092621-haejkkh
parent_id: 20210210104024-efd1ar6
root_id: 20201222100222-q47d64s
hash: cc67499
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100222-q47d64s.sy
hpath: /Please Start Here/Advanced search/Type filtering
type: l
subtype: u
ial: {: id="20201224092621-haejkkh" updated="20220312005526"}
created: 20201224092621
updated: 20220312005526
content:
 d Document block (Only search on the document name, will not search for the document containing content blocks) h Heading block (Search only on the heading name, not the content blocks below the heading block) l List block (including ordered list block, unordered list block and task list block) i List item block c Code block m Mathematical formula block t Table block b Blockquote block s Super block p Paragraph block html HTML block

fcontent:
d Document block (Only search on the document name, will not search for the document containing content blocks)

markdown:
* `d` Document block (Only search on the document name, will not search for the document containing content blocks)
* `h` Heading block (Search only on the heading name, not the content blocks below the heading block)
* `l` List block (including ordered list block, unordered list block and task list block)
* `i` List item block
* `c` Code block
* `m` Mathematical formula block
* `t` Table block
* `b` Blockquote block
* `s` Super block
* `p` Paragraph block
* `html` HTML block


id: 20201224120448-mpmfni9
parent_id: 20201224092621-haejkkh
root_id: 20201222100222-q47d64s
hash: 6ef97f6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100222-q47d64s.sy
hpath: /Please Start Here/Advanced search/Type filtering
type: i
subtype: u
ial: {: id="20201224120448-mpmfni9"}
created: 20201224120448
content:
 d Document block (Only search on the document name, will not search for the document containing content blocks)

fcontent:
d Document block (Only search on the document name, will not search for the document containing content blocks)

markdown:
* `d` Document block (Only search on the document name, will not search for the document containing content blocks)


id: 20210210104014-pbdtm4z
parent_id: 20201224120448-mpmfni9
root_id: 20201222100222-q47d64s
hash: d0a9b91
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100222-q47d64s.sy
hpath: /Please Start Here/Advanced search/Type filtering
type: p
ial: {: id="20210210104014-pbdtm4z"}
created: 20210210104014
content:
d Document block (Only search on the document name, will not search for the document containing content blocks)

markdown:
`d` Document block (Only search on the document name, will not search for the document containing content blocks)


id: 20201224120448-x5dqp91
parent_id: 20201224092621-haejkkh
root_id: 20201222100222-q47d64s
hash: f77fb17
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100222-q47d64s.sy
hpath: /Please Start Here/Advanced search/Type filtering
content: h Heading block (Search only on the heading name, not the content blocks below the heading block)
fcontent: h Heading block (Search only on the heading name, not the content blocks below the heading block)
type: i
subtype: u
ial: {: id="20201224120448-x5dqp91"}
created: 20201224120448
markdown:
* `h` Heading block (Search only on the heading name, not the content blocks below the heading block)


id: 20210111225813-9kys36i
parent_id: 20201117103851-gx21lz6
root_id: 20201222100339-i5hzcph
hash: cf44ccb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
type: t
ial: {: colgroup="|" id="20210111225813-9kys36i" updated="20221014133135"}
created: 20210111225813
updated: 20221014133135
content:
Field Description id Content block ID parent_id Parent block ID, If the content block is a document block, this field is empty root_id Root block ID, which is the document block ID hash Summary checksum of the content box Notebook ID path The path of the document where the content block is located hpath The path to the document where the human-readable content block is located name Content block name alias Content block alias memo Content block memo content Text with Markdown markers removed fcontent The first child block text with Markdown markers removed markdown Text with complete Markdown markers length Length of fcontent​ type Content block type, please refer to here subtype Content block subtype, please refer to here ial Inline attributes list, like  {: name="value"}​ sort For sorting, the smaller the value, the higher the sort created Create time, for example 20221013202001​ updated Update time, for example 20221013202001​

markdown:
|Field|Description|
| ----------: | --------------------------------------------------------------------------------|
|id|Content block ID|
|parent_id|Parent block ID, If the content block is a document block, this field is empty|
|root_id|Root block ID, which is the document block ID|
|hash|Summary checksum of the content|
|box|Notebook ID|
|path|The path of the document where the content block is located|
|hpath|The path to the document where the human-readable content block is located|
|name|Content block name|
|alias|Content block alias|
|memo|Content block memo|
|content|Text with Markdown markers removed|
|fcontent|The first child block text with Markdown markers removed|
|markdown|Text with complete Markdown markers|
|length|Length of `fcontent`​|
|type|Content block type, please refer to ((20210210104024-efd1ar6 "here"))|
|subtype|Content block subtype, please refer to ((20210210104037-xex9wds "here"))|
|ial|Inline attributes list, like  `{: name="value"}`​|
|sort|For sorting, the smaller the value, the higher the sort|
|created|Create time, for example `20221013202001`​|
|updated|Update time, for example `20221013202001`​|


id: 20210112165011-irm4wch
parent_id: 20201224120448-dd94dgz
root_id: 20201222100339-i5hzcph
hash: c33e54c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
type: l
subtype: u
ial: {: id="20210112165011-irm4wch" updated="20220427104543"}
created: 20210112165011
updated: 20220427104543
content:
 If LIMIT is not specified, only the first 64 results will be returned at most, adjustable via Settings - Search - The number of search results displayed sort field Document block: 0 Heading block: 5 Paragraph block: 10 Code block: 10 Mathematical formula block: 10 Table block: 10 HTML block: 10 List block: 20 List item block: 20 Blockquote block: 20 Super block: 30

fcontent:
If LIMIT is not specified, only the first 64 results will be returned at most, adjustable via Settings - Search - The number of search results displayed

markdown:
* If `LIMIT` is not specified, only the first 64 results will be returned at most, adjustable via <kbd>Settings</kbd> - <kbd>Search</kbd> - <kbd>The number of search results displayed</kbd>
* `sort` field

  * Document block: `0`
  * Heading block: `5`
  * Paragraph block: `10`
  * Code block: `10`
  * Mathematical formula block: `10`
  * Table block: `10`
  * HTML block: `10`
  * List block: `20`
  * List item block: `20`
  * Blockquote block: `20`
  * Super block: `30`


id: 20210112165011-hndbj25
parent_id: 20210112165011-irm4wch
root_id: 20201222100339-i5hzcph
hash: 1f0d31c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
type: i
subtype: u
ial: {: updated="20220427104543" id="20210112165011-hndbj25"}
created: 20210112165011
updated: 20220427104543
content:
 If LIMIT is not specified, only the first 64 results will be returned at most, adjustable via Settings - Search - The number of search results displayed

fcontent:
If LIMIT is not specified, only the first 64 results will be returned at most, adjustable via Settings - Search - The number of search results displayed

markdown:
* If `LIMIT` is not specified, only the first 64 results will be returned at most, adjustable via <kbd>Settings</kbd> - <kbd>Search</kbd> - <kbd>The number of search results displayed</kbd>


id: 20210210104251-j5gbxzv
parent_id: 20210112165011-hndbj25
root_id: 20201222100339-i5hzcph
hash: bad7f0f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
type: p
ial: {: id="20210210104251-j5gbxzv" updated="20220427104543"}
created: 20210210104251
updated: 20220427104543
content:
If LIMIT is not specified, only the first 64 results will be returned at most, adjustable via Settings - Search - The number of search results displayed

markdown:
If `LIMIT` is not specified, only the first 64 results will be returned at most, adjustable via <kbd>Settings</kbd> - <kbd>Search</kbd> - <kbd>The number of search results displayed</kbd>


id: 20210112165011-n8zrkxm
parent_id: 20210112165011-irm4wch
root_id: 20201222100339-i5hzcph
hash: 9f629d8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
fcontent: sort field
type: i
subtype: u
ial: {: id="20210112165011-n8zrkxm" updated="20220312010003"}
created: 20210112165011
updated: 20220312010003
content:
 sort field Document block: 0 Heading block: 5 Paragraph block: 10 Code block: 10 Mathematical formula block: 10 Table block: 10 HTML block: 10 List block: 20 List item block: 20 Blockquote block: 20 Super block: 30

markdown:
* `sort` field

  * Document block: `0`
  * Heading block: `5`
  * Paragraph block: `10`
  * Code block: `10`
  * Mathematical formula block: `10`
  * Table block: `10`
  * HTML block: `10`
  * List block: `20`
  * List item block: `20`
  * Blockquote block: `20`
  * Super block: `30`


id: 20210112165011-fodiphq
parent_id: 20210112165011-n8zrkxm
root_id: 20201222100339-i5hzcph
hash: fdd103b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20201222100339-i5hzcph.sy
hpath: /Please Start Here/Advanced search/Database table
fcontent: Document block: 0
type: l
subtype: u
ial: {: id="20210112165011-fodiphq" updated="20220312010003"}
created: 20210112165011
updated: 20220312010003
content:
 Document block: 0 Heading block: 5 Paragraph block: 10 Code block: 10 Mathematical formula block: 10 Table block: 10 HTML block: 10 List block: 20 List item block: 20 Blockquote block: 20 Super block: 30

markdown:
* Document block: `0`
* Heading block: `5`
* Paragraph block: `10`
* Code block: `10`
* Mathematical formula block: `10`
* Table block: `10`
* HTML block: `10`
* List block: `20`
* List item block: `20`
* Blockquote block: `20`
* Super block: `30`


id: 20240119211037-r5fn0e2
parent_id: 20240119211037-qomzc0b
root_id: 20240119211017-1vbbt95
hash: 4d41138
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: p
ial: {: id="20240119211037-r5fn0e2" updated="20240119211045"}
created: 20240119211037
updated: 20240119211045
content:
Ignore indexing means not indexing document data into the database, making the data completely unsearchable and reducing database size.

markdown:
Ignore indexing means not indexing document data into the database, making the data completely unsearchable and reducing database size.


id: 20240119211037-3xkmy4c
parent_id: 20240119211037-cjq7aer
root_id: 20240119211017-1vbbt95
hash: 508ffe2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: p
ial: {: id="20240119211037-3xkmy4c" updated="20240119211121"}
created: 20240119211037
updated: 20240119211121
content:
Manually create or edit the workspace/data/.siyuan/indexignore​ text file on the file system, where each line serves as an ignore path and supports gitignore syntax. For example:

markdown:
Manually create or edit the `workspace/data/.siyuan/indexignore`​ text file on the file system, where each line serves as an ignore path and supports gitignore syntax. For example:


id: 20240119211037-putkxu9
parent_id: 20240119211037-cjq7aer
root_id: 20240119211017-1vbbt95
hash: 690b336
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: l
subtype: u
ial: {: id="20240119211037-putkxu9" updated="20240119211442"}
created: 20240119211037
updated: 20240119211442
content:
 ​20210808180117-6v0mkxr/20200923234011-ieuun1p.sy​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook ​20210808180117-6v0mkxr/**/*​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook

fcontent:
​20210808180117-6v0mkxr/20200923234011-ieuun1p.sy​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook

markdown:
* ​`20210808180117-6v0mkxr/20200923234011-ieuun1p.sy`​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook
* ​`20210808180117-6v0mkxr/**/*`​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook


id: 20240119211037-s3rhrly
parent_id: 20240119211037-putkxu9
root_id: 20240119211017-1vbbt95
hash: ac12253
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: i
subtype: u
ial: {: id="20240119211037-s3rhrly" updated="20240119211416"}
created: 20240119211037
updated: 20240119211416
content:
 ​20210808180117-6v0mkxr/20200923234011-ieuun1p.sy​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook

fcontent:
​20210808180117-6v0mkxr/20200923234011-ieuun1p.sy​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook

markdown:
* ​`20210808180117-6v0mkxr/20200923234011-ieuun1p.sy`​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook


id: 20240119211037-246r9a5
parent_id: 20240119211037-s3rhrly
root_id: 20240119211017-1vbbt95
hash: 89419dd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: p
ial: {: id="20240119211037-246r9a5" updated="20240119211416"}
created: 20240119211037
updated: 20240119211416
content:
​20210808180117-6v0mkxr/20200923234011-ieuun1p.sy​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook

markdown:
​`20210808180117-6v0mkxr/20200923234011-ieuun1p.sy`​: Ignore indexing the 20200923234011-ieuun1p.sy document under the data/20210808180117-6v0mkxr notebook


id: 20240119211037-uqdk9a1
parent_id: 20240119211037-putkxu9
root_id: 20240119211017-1vbbt95
hash: 76e5ef7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: i
subtype: u
ial: {: id="20240119211037-uqdk9a1" updated="20240119211442"}
created: 20240119211037
updated: 20240119211442
content:
 ​20210808180117-6v0mkxr/**/*​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook

fcontent:
​20210808180117-6v0mkxr/**/*​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook

markdown:
* ​`20210808180117-6v0mkxr/**/*`​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook


id: 20240119211037-av6j2xj
parent_id: 20240119211037-uqdk9a1
root_id: 20240119211017-1vbbt95
hash: e2cffd2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119211017-1vbbt95.sy
hpath: /Please Start Here/Advanced search/Ignore indexing
type: p
ial: {: id="20240119211037-av6j2xj" updated="20240119211442"}
created: 20240119211037
updated: 20240119211442
content:
​20210808180117-6v0mkxr/**/*​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook

markdown:
​`20210808180117-6v0mkxr/**/*`​: Ignore indexing all documents under the data/20210808180117-6v0mkxr notebook


id: 20240119212104-te1z48c
parent_id: 20240119212104-9fehl3c
root_id: 20240119212048-0huuevw
hash: a1779eb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: l
subtype: u
ial: {: id="20240119212104-te1z48c" updated="20240119212145"}
created: 20240119212104
updated: 20240119212145
content:
 Ignore global search: manually create or edit the workspace/data/.siyuan/searchignore​ text file on the file system Ignore reference search: manually create or edit the workspace/data/.siyuan/refsearchignore​ text file on the file system

fcontent:
Ignore global search: manually create or edit the workspace/data/.siyuan/searchignore​ text file on the file system

markdown:
* Ignore global search: manually create or edit the `workspace/data/.siyuan/searchignore`​ text file on the file system
* Ignore reference search: manually create or edit the `workspace/data/.siyuan/refsearchignore`​ text file on the file system


id: 20240119212104-xvdl5uv
parent_id: 20240119212104-te1z48c
root_id: 20240119212048-0huuevw
hash: 7d5d816
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: i
subtype: u
ial: {: id="20240119212104-xvdl5uv" updated="20240119212104"}
created: 20240119212104
updated: 20240119212104
content:
 Ignore global search: manually create or edit the workspace/data/.siyuan/searchignore​ text file on the file system

fcontent:
Ignore global search: manually create or edit the workspace/data/.siyuan/searchignore​ text file on the file system

markdown:
* Ignore global search: manually create or edit the `workspace/data/.siyuan/searchignore`​ text file on the file system


id: 20240119212104-19qxeob
parent_id: 20240119212104-xvdl5uv
root_id: 20240119212048-0huuevw
hash: 8742895
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: p
ial: {: id="20240119212104-19qxeob" updated="20240119212104"}
created: 20240119212104
updated: 20240119212104
content:
Ignore global search: manually create or edit the workspace/data/.siyuan/searchignore​ text file on the file system

markdown:
Ignore global search: manually create or edit the `workspace/data/.siyuan/searchignore`​ text file on the file system


id: 20240119212104-vd4ztbi
parent_id: 20240119212104-te1z48c
root_id: 20240119212048-0huuevw
hash: 1b730cd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: i
subtype: u
ial: {: id="20240119212104-vd4ztbi" updated="20240119212145"}
created: 20240119212104
updated: 20240119212145
content:
 Ignore reference search: manually create or edit the workspace/data/.siyuan/refsearchignore​ text file on the file system

fcontent:
Ignore reference search: manually create or edit the workspace/data/.siyuan/refsearchignore​ text file on the file system

markdown:
* Ignore reference search: manually create or edit the `workspace/data/.siyuan/refsearchignore`​ text file on the file system


id: 20240119212104-yxf89nn
parent_id: 20240119212104-vd4ztbi
root_id: 20240119212048-0huuevw
hash: 5c53657
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: p
ial: {: id="20240119212104-yxf89nn" updated="20240119212145"}
created: 20240119212104
updated: 20240119212145
content:
Ignore reference search: manually create or edit the workspace/data/.siyuan/refsearchignore​ text file on the file system

markdown:
Ignore reference search: manually create or edit the `workspace/data/.siyuan/refsearchignore`​ text file on the file system


id: 20240119212104-w5aqumm
parent_id: 20240119212104-9fehl3c
root_id: 20240119212048-0huuevw
hash: 56e4504
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20240119212048-0huuevw.sy
hpath: /Please Start Here/Advanced search/Ignore search
type: p
ial: {: id="20240119212104-w5aqumm" updated="20240119212108"}
created: 20240119212104
updated: 20240119212108
content:
Each line in these ignore configuration files will be used as a condition for SQL path NOT LIKE, for example:

markdown:
Each line in these ignore configuration files will be used as a condition for SQL path NOT LIKE, for example:


id: 20220415232239-xvsiw7v
parent_id: 20220415232239-abvrkg2
root_id: 20220415232231-pqcizol
hash: 8a331aa
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-xvsiw7v" updated="20220415232347"}
created: 20220415232239
updated: 20220415232347
content:
Global search  Ctrl+P supports advanced search through query syntax, in order to implement some logical operations, such as the query syntax that contains the keyword foo and does not contain the keyword bar is foo NOT bar.

markdown:
Global search  <kbd>Ctrl+P</kbd> supports advanced search through query syntax, in order to implement some logical operations, such as the query syntax that contains the keyword `foo` and does not contain the keyword `bar` is `foo NOT bar`.


id: 20220415232239-2eww0wd
parent_id: 20220415232239-abvrkg2
root_id: 20220415232231-pqcizol
hash: 635e28d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
fcontent: String: composed of letters, numbers, etc.
type: l
subtype: u
ial: {: id="20220415232239-2eww0wd" updated="20220415232402"}
created: 20220415232239
updated: 20220415232402
content:
 String: composed of letters, numbers, etc. Phrase: composed of strings Query: composed of phrases, multiple queries can be combined into a new query through AND, OR and NOT

markdown:
* String: composed of letters, numbers, etc.
* Phrase: composed of strings
* Query: composed of phrases, multiple queries can be combined into a new query through `AND`, `OR` and `NOT`


id: 20220415232239-7lyjjlg
parent_id: 20220415232239-2eww0wd
root_id: 20220415232231-pqcizol
hash: 8171ea3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: i
subtype: u
ial: {: id="20220415232239-7lyjjlg" updated="20220415232239"}
created: 20220415232239
updated: 20220415232239
content:
 Query: composed of phrases, multiple queries can be combined into a new query through AND, OR and NOT

fcontent:
Query: composed of phrases, multiple queries can be combined into a new query through AND, OR and NOT

markdown:
* Query: composed of phrases, multiple queries can be combined into a new query through `AND`, `OR` and `NOT`


id: 20220415232239-ecoeyl1
parent_id: 20220415232239-7lyjjlg
root_id: 20220415232231-pqcizol
hash: 45f5450
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-ecoeyl1" updated="20220415232239"}
created: 20220415232239
updated: 20220415232239
content:
Query: composed of phrases, multiple queries can be combined into a new query through AND, OR and NOT

markdown:
Query: composed of phrases, multiple queries can be combined into a new query through `AND`, `OR` and `NOT`


id: 20220415232239-bf52gq4
parent_id: 20220415232239-9x4gcsx
root_id: 20220415232231-pqcizol
hash: 8e4151e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: l
subtype: u
ial: {: id="20220415232239-bf52gq4" updated="20220415232616"}
created: 20220415232239
updated: 20220415232616
content:
 Characters enclosed in English double quotes ". If " itself needs to be used, it can be escaped by SQL-style (plus a "), for example "foo""bar""" will hits foo "bar" Consists of non AND, OR and NOT characters, and these characters must be: All non-ASCII characters, or Belongs to 52 uppercase and lowercase English characters (A-Za-z), or Belongs to 10 ASCII numeric characters (0-9), or Is an underscore _, or Is the replacement character (ASCII 26)

fcontent:
Characters enclosed in English double quotes ". If " itself needs to be used, it can be escaped by SQL-style (plus a "), for example "foo""bar""" will hits foo "bar"

markdown:
* Characters enclosed in English double quotes `"`. If `"` itself needs to be used, it can be escaped by SQL-style (plus a `"`), for example `"foo""bar"""` will hits `foo "bar"`
* Consists of non `AND`, `OR` and `NOT` characters, and these characters must be:

  * All non-ASCII characters, or
  * Belongs to 52 uppercase and lowercase English characters (`A-Za-z`), or
  * Belongs to 10 ASCII numeric characters (`0-9`), or
  * Is an underscore `_`, or
  * Is the replacement character (ASCII 26)


id: 20220415232239-9obi3e2
parent_id: 20220415232239-bf52gq4
root_id: 20220415232231-pqcizol
hash: d9ac9f5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: i
subtype: u
ial: {: id="20220415232239-9obi3e2" updated="20220415232500"}
created: 20220415232239
updated: 20220415232500
content:
 Characters enclosed in English double quotes ". If " itself needs to be used, it can be escaped by SQL-style (plus a "), for example "foo""bar""" will hits foo "bar"

fcontent:
Characters enclosed in English double quotes ". If " itself needs to be used, it can be escaped by SQL-style (plus a "), for example "foo""bar""" will hits foo "bar"

markdown:
* Characters enclosed in English double quotes `"`. If `"` itself needs to be used, it can be escaped by SQL-style (plus a `"`), for example `"foo""bar"""` will hits `foo "bar"`


id: 20220415232239-o7glmzf
parent_id: 20220415232239-9obi3e2
root_id: 20220415232231-pqcizol
hash: fada203
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-o7glmzf" updated="20220415232500"}
created: 20220415232239
updated: 20220415232500
content:
Characters enclosed in English double quotes ". If " itself needs to be used, it can be escaped by SQL-style (plus a "), for example "foo""bar""" will hits foo "bar"

markdown:
Characters enclosed in English double quotes `"`. If `"` itself needs to be used, it can be escaped by SQL-style (plus a `"`), for example `"foo""bar"""` will hits `foo "bar"`


id: 20220415232239-7znuuq7
parent_id: 20220415232239-bf52gq4
root_id: 20220415232231-pqcizol
hash: 8b06950
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
fcontent: Consists of non AND, OR and NOT characters, and these characters must be:
type: i
subtype: u
ial: {: id="20220415232239-7znuuq7" updated="20220415232616"}
created: 20220415232239
updated: 20220415232616
content:
 Consists of non AND, OR and NOT characters, and these characters must be: All non-ASCII characters, or Belongs to 52 uppercase and lowercase English characters (A-Za-z), or Belongs to 10 ASCII numeric characters (0-9), or Is an underscore _, or Is the replacement character (ASCII 26)

markdown:
* Consists of non `AND`, `OR` and `NOT` characters, and these characters must be:

  * All non-ASCII characters, or
  * Belongs to 52 uppercase and lowercase English characters (`A-Za-z`), or
  * Belongs to 10 ASCII numeric characters (`0-9`), or
  * Is an underscore `_`, or
  * Is the replacement character (ASCII 26)


id: 20220415232239-yrossym
parent_id: 20220415232239-7znuuq7
root_id: 20220415232231-pqcizol
hash: 6c8874c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
fcontent: All non-ASCII characters, or
type: l
subtype: u
ial: {: id="20220415232239-yrossym" updated="20220415232616"}
created: 20220415232239
updated: 20220415232616
content:
 All non-ASCII characters, or Belongs to 52 uppercase and lowercase English characters (A-Za-z), or Belongs to 10 ASCII numeric characters (0-9), or Is an underscore _, or Is the replacement character (ASCII 26)

markdown:
* All non-ASCII characters, or
* Belongs to 52 uppercase and lowercase English characters (`A-Za-z`), or
* Belongs to 10 ASCII numeric characters (`0-9`), or
* Is an underscore `_`, or
* Is the replacement character (ASCII 26)


id: 20220415232239-3nnn6m9
parent_id: 20220415232239-9x4gcsx
root_id: 20220415232231-pqcizol
hash: 57cf061
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-3nnn6m9" updated="20220415232239"}
created: 20220415232239
updated: 20220415232239
content:
For strings that are not composed of other characters mentioned above, they must be wrapped with ", such as strings containing -, * and other symbols.

markdown:
For strings that are not composed of other characters mentioned above, they must be wrapped with `"`, such as strings containing `-`, `*` and other symbols.


id: 20220415232239-eewj58z
parent_id: 20220415232239-nln4l9x
root_id: 20220415232231-pqcizol
hash: fcd98b6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-eewj58z" updated="20230820184820"}
created: 20220415232239
updated: 20230820184820
content:
Phrases consist of strings, which can be concatenated by +​. A phrase is composed of some tokens in order, and these tokens are processed by the user's input text through the tokenizer. The tokenizer used by SiYuan is to make Chinese search easy to use (supports single-word search), so the implementation is based on word segmentation, which means that each Chinese character or English letter will be split into a token. This has some effect on +​ concatenation, so it is recommended not to use +​ to combine multiple phrases if unsure.

markdown:
Phrases consist of strings, which can be concatenated by `+`​. A phrase is composed of some tokens in order, and these tokens are processed by the user's input text through the tokenizer. The tokenizer used by SiYuan is to make Chinese search easy to use (supports single-word search), so the implementation is based on word segmentation, which means that each Chinese character or English letter will be split into a token. This has some effect on `+`​ concatenation, so it is recommended not to use `+`​ to combine multiple phrases if unsure.


id: 20220415232239-37vz7jx
parent_id: 20220415232239-rrjlw3p
root_id: 20220415232231-pqcizol
hash: 4c24e89
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415232239-37vz7jx" updated="20220415232239"}
created: 20220415232239
updated: 20220415232239
content:
A query consists of multiple phrases, which can be combined into a new query by the operators AND, OR, and NOT.

markdown:
A query consists of multiple phrases, which can be combined into a new query by the operators `AND`, `OR`, and `NOT`.


id: 20220415232838-yxo6xjb
parent_id: 20220415232239-rrjlw3p
root_id: 20220415232231-pqcizol
hash: 05d7c04
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: t
ial: {: id="20220415232838-yxo6xjb" updated="20220415233221" colgroup="|"}
created: 20220415232838
updated: 20220415233221
content:
Operator Function <query1> AND <query2> Matches if both query1 and query2 match <query1> OR <query2> Matches if either query1 or query2 match <query1> NOT <query2> Matches if query1 matches and query2 does not match

markdown:
|Operator|Function|
| ----------| -----------------------------------------------------|
|`<query1> AND <query2>`|Matches if both query1 and query2 match|
|`<query1> OR <query2>`|Matches if either query1 or query2 match|
|`<query1> NOT <query2>`|Matches if query1 matches and query2 does not match|


id: 20220415232239-3z0w5v1
parent_id: 20220415232239-rrjlw3p
root_id: 20220415232231-pqcizol
hash: df43ca7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: c
ial: {: id="20220415232239-3z0w5v1" updated="20220502163630"}
created: 20220415232239
updated: 20220502163630
content:
-- Matches documents that contain at least one instance of either "one" or "two", but do not contain any instances of token "three".
'one OR two NOT three'

-- Match all documents that contain the token "two" but not "three", or contain the token "one".
'one OR (two NOT three)'

markdown:
```sql
-- Matches documents that contain at least one instance of either "one" or "two", but do not contain any instances of token "three".
'one OR two NOT three'

-- Match all documents that contain the token "two" but not "three", or contain the token "one".
'one OR (two NOT three)'
```


id: 20220415232239-axj842d
parent_id: 20220415232239-rrjlw3p
root_id: 20220415232231-pqcizol
hash: 6b3853d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: c
ial: {: id="20220415232239-axj842d" updated="20220502163624"}
created: 20220415232239
updated: 20220502163624
content:
'one two three'         -- 'one AND two AND three'
'three "one two"'       -- 'three AND "one two"'
'NEAR(one two) three'   -- 'NEAR(one two) AND three'
'one OR two three'      -- 'one OR two AND three'

'(one OR two) three'    -- Syntax error!
'func(one two)'         -- Syntax error!

markdown:
```sql
'one two three'         -- 'one AND two AND three'
'three "one two"'       -- 'three AND "one two"'
'NEAR(one two) three'   -- 'NEAR(one two) AND three'
'one OR two three'      -- 'one OR two AND three'

'(one OR two) three'    -- Syntax error!
'func(one two)'         -- Syntax error!
```


id: 20220415233433-63nplm9
parent_id: 20220415233433-mnuypxn
root_id: 20220415232231-pqcizol
hash: 4f09ac6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415233433-63nplm9" updated="20220415233534"}
created: 20220415233433
updated: 20220415233534
content:
The key part of the query statement generated by the system is roughly MATCH '{content name alias memo}:" + query, query is the user input part, for column filter https://www.sqlite.org/fts5 .html#fts5_column_filters {content name alias memo}: is generated by Settings - Search - Attribute.

markdown:
The key part of the query statement generated by the system is roughly `MATCH '{content name alias memo}:" + query`, `query` is the user input part, for [column filter](https://www.sqlite.org/fts5%20.html#fts5_column_filters) `{content name alias memo}:` is generated by <kbd>Settings</kbd> - <kbd>Search</kbd> - <kbd>Attribute</kbd>.


id: 20220415233433-n86851p
parent_id: 20220415233433-mnuypxn
root_id: 20220415232231-pqcizol
hash: 05c14d7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415233433-n86851p" updated="20220415233433"}
created: 20220415233433
updated: 20220415233433
content:
After knowing these, we can implement the query embedding block through the query syntax, so that the query performance will be better:

markdown:
After knowing these, we can implement the query embedding block through the query syntax, so that the query performance will be better:


id: 20220415233433-411i0bp
parent_id: 20220415233433-mnuypxn
root_id: 20220415232231-pqcizol
hash: e22a401
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: query_embed
ial: {: id="20220415233433-411i0bp" updated="20220415234441"}
created: 20220415233433
updated: 20220415234441
content:
Global search  Ctrl+P supports advanced search through query syntax, in order to implement some logical operations, such as the query syntax that contains the keyword foo and does not contain the keyword bar is foo NOT bar.

markdown:
{{SELECT * FROM blocks_fts WHERE blocks_fts MATCH 'content:query syntax' AND root_id = '20220415232231-pqcizol' LIMIT 1
}}


id: 20220415233433-sux85ge
parent_id: 20220415233433-g35tpdb
root_id: 20220415232231-pqcizol
hash: 77130ab
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415233433-sux85ge" updated="20220415233433"}
created: 20220415233433
updated: 20220415233433
content:
If the Settings - Search - Case Sensitivity option is enabled, the search will be case-sensitive. By default, this option is disabled, that is, insensitive upper and lower case.

markdown:
If the <kbd>Settings</kbd> - <kbd>Search</kbd> - <kbd>Case Sensitivity</kbd> option is enabled, the search will be case-sensitive. By default, this option is disabled, that is, insensitive upper and lower case.


id: 20220415233433-f30zc20
parent_id: 20220415233433-g35tpdb
root_id: 20220415232231-pqcizol
hash: 1e8b0c0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
fcontent: blocks_fts: word segmentation by character
type: l
subtype: u
ial: {: id="20220415233433-f30zc20" updated="20220415233433"}
created: 20220415233433
updated: 20220415233433
content:
 blocks_fts: word segmentation by character blocks_fts_case_insensitive: Convert English letters to lowercase participles

markdown:
* `blocks_fts`: word segmentation by character
* `blocks_fts_case_insensitive`: Convert English letters to lowercase participles


id: 20220415233433-tcac279
parent_id: 20220415233433-g35tpdb
root_id: 20220415232231-pqcizol
hash: 83dd879
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-l3qg72k/20220415232231-pqcizol.sy
hpath: /Please Start Here/Advanced search/Query syntax
type: p
ial: {: id="20220415233433-tcac279" updated="20230802221616"}
created: 20220415233433
updated: 20230802221616
content:
The disadvantage of this is that it increases disk space usage and reduces indexing performance, but there is currently no better solution, so it can only be done first. In addition, diacritics are not supported, only supported case insensitive.

markdown:
The disadvantage of this is that it increases disk space usage and reduces indexing performance, but there is currently no better solution, so it can only be done first. In addition, diacritics are not supported, only supported case insensitive.


id: 20210104091414-5n6da7j
parent_id: 20210104091414-c8862yg
root_id: 20200924100635-ms0p9lb
hash: 093a1bb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20210104091414-5n6da7j" updated="20210702231509"}
created: 20210104091414
updated: 20210702231509
content:
If you need to "favorite" content blocks, please open the attribute panel through the block icon menu, and then you can set bookmarks in the attribute panel.

markdown:
If you need to "favorite" content blocks, please open the attribute panel through the block icon menu, and then you can set bookmarks in the attribute panel.


id: 20210104091414-b6lifws
parent_id: 20210104091414-c8862yg
root_id: 20200924100635-ms0p9lb
hash: ff3f0bb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20210104091414-b6lifws"}
created: 20210104091414
content:
All favorite content blocks will be listed in the bookmark tab (Alt 3 / ⌘ 3). If you want to cancel the collection, select Delete in the drop-down menu of the content block ID.

markdown:
All favorite content blocks will be listed in the bookmark tab (<kbd>Alt 3</kbd> / <kbd>⌘ 3</kbd>). If you want to cancel the collection, select Delete in the drop-down menu of the content block ID.


id: 20210104091414-x7yerg6
parent_id: 20210104091414-qp10fn0
root_id: 20200924100635-ms0p9lb
hash: bbd8d9d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20210104091414-x7yerg6"}
created: 20210104091414
content:
The tag is used to mark the block in the content block. The syntax is to wrap the tag identifier with two # in the first and one after the other, like this #Tag#.

markdown:
The tag is used to mark the block in the content block. The syntax is to wrap the tag identifier with two `#` in the first and one after the other, like this `#Tag#`.


id: 20210104091414-4cl5j5v
parent_id: 20210104091414-qp10fn0
root_id: 20200924100635-ms0p9lb
hash: 538a722
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20210104091414-4cl5j5v"}
created: 20210104091414
content:
Tag support hierarchical levels, so that content blocks can be sorted more easily. Use / to separate different levels, like this #A/B/C#.

markdown:
Tag support hierarchical levels, so that content blocks can be sorted more easily. Use `/` to separate different levels, like this `#A/B/C#`.


id: 20210104091414-s3vdbdu
parent_id: 20210104091414-qp10fn0
root_id: 20200924100635-ms0p9lb
hash: 62efbc1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20210104091414-s3vdbdu"}
created: 20210104091414
content:
All tagged content blocks will be listed in the tag tab (Alt 4 / ⌘ 4). If you need to cancel the tag, just delete the tag in the content block.

markdown:
All tagged content blocks will be listed in the tag tab (<kbd>Alt 4</kbd> / <kbd>⌘ 4</kbd>). If you need to cancel the tag, just delete the tag in the content block.


id: 20230928113959-ebzf9zy
parent_id: 20230928113947-gnlob5l
root_id: 20200924100635-ms0p9lb
hash: 2406666
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100635-ms0p9lb.sy
hpath: /Please Start Here/General Operations/Bookmark and Tag
type: p
ial: {: id="20230928113959-ebzf9zy" updated="20231205225745"}
created: 20230928113959
updated: 20231205225745
content:
Please do not use special symbols in bookmarks or tags, otherwise you will not be able to search globally, and you will not be able to rename and delete them in the bookmarks/tags panel. The "special symbols" here include: *​, _​, [​, ]​, !​, \​, `​ , <​, >​, &​, ~ ​, $​, (​, )​, {​, }​, =​ and #​.

markdown:
Please do not use special symbols in bookmarks or tags, otherwise you will not be able to search globally, and you will not be able to rename and delete them in the bookmarks/tags panel. The "special symbols" here include: `*`​, `_`​, `[`​, `]`​, `!`​, `\`​, ```​ , `<`​, `>`​, `&`​, `~ `​, `$`​, `(`​, `)`​, `{`​, `}`​, `=`​ and `#`​.


id: 20201225172241-oyntdl9
parent_id: 20201225172241-m3ffs88
root_id: 20200924100717-yzwzn64
hash: 58f1070
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
type: p
ial: {: id="20201225172241-oyntdl9"}
created: 20201225172241
content:
Kernel working directory path, automatically obtained according to the kernel executable file entry if it is not specified.

markdown:
Kernel working directory path, automatically obtained according to the kernel executable file entry if it is not specified.


id: 20201225172241-2j3s1dc
parent_id: 20201225172241-asmvg1c
root_id: 20200924100717-yzwzn64
hash: 8edf6c3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
type: p
ial: {: id="20201225172241-2j3s1dc"}
created: 20201225172241
content:
After specifying with --readonly=true, the kernel will run in read-only mode and all write operations will be prohibited.

markdown:
After specifying with `--readonly=true`, the kernel will run in read-only mode and all write operations will be prohibited.


id: 20210117224305-vyqi75g
parent_id: 20210117224305-alzt1xr
root_id: 20200924100717-yzwzn64
hash: 0889e40
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
type: p
ial: {: id="20210117224305-vyqi75g"}
created: 20210117224305
content:
Used to specify the browser access authentication password, which will overwrite the authCode in conf.json after setting.

markdown:
Used to specify the browser access ((20210104091447-3vmymbk "authentication password")), which will overwrite the authCode in conf.json after setting.


id: 20220517144139-7q5hnts
parent_id: 20220517144139-qeoe1f3
root_id: 20200924100717-yzwzn64
hash: c58d118
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
type: p
ial: {: id="20220517144139-7q5hnts" updated="20220517144139"}
created: 20220517144139
updated: 20220517144139
content:
Using --lang=zh_CN will use Simplified Chinese to initialize the appearance language, the default is en_US. Currently available values: zh_CN, zh_CHT, en_US and fr_FR.

markdown:
Using `--lang=zh_CN` will use Simplified Chinese to initialize the appearance language, the default is `en_US`. Currently available values: `zh_CN`, `zh_CHT`, `en_US` and `fr_FR`.


id: 20220601091217-monzwye
parent_id: 20220601091217-g6ohtlq
root_id: 20200924100717-yzwzn64
hash: 6ee9ea9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
content: Use --mode=dev to run in development mode, use --mode=prod to run in production mode, default prod.
type: p
ial: {: id="20220601091217-monzwye" updated="20220601091217"}
created: 20220601091217
updated: 20220601091217
markdown:
Use `--mode=dev` to run in development mode, use `--mode=prod` to run in production mode, default `prod`.


id: 20220601091217-nnqyj25
parent_id: 20220601091217-g6ohtlq
root_id: 20200924100717-yzwzn64
hash: 0385c3e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy
hpath: /Please Start Here/General Operations/Kernel parameter
type: p
ial: {: id="20220601091217-nnqyj25" updated="20220601091217"}
created: 20220601091217
updated: 20220601091217
content:
The main difference between development mode and production mode is that development mode uses working directory/appearance/ as the appearance folder, while production mode uses workspace/conf/appearance/.

markdown:
The main difference between development mode and production mode is that development mode uses `working directory/appearance/` as the appearance folder, while production mode uses `workspace/conf/appearance/`.


id: 20210104091452-z9t1xak
parent_id: 20200924100906-0u4zfq3
root_id: 20200924100906-0u4zfq3
hash: 1f2900c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
hpath: /Please Start Here/General Operations/Window and Tab
type: p
ial: {: id="20210104091452-z9t1xak"}
created: 20210104091452
content:
The tabs support up and down and left and right split screens, and all open tabs are synchronized in real time. For example, if you open multiple tabs for the same document, after editing and saving one of the tabs, the other tabs will also automatically synchronize the latest content to avoid dirty data overwriting while enjoying the convenience of multiple openings.

markdown:
The tabs support up and down and left and right split screens, and all open tabs are synchronized in real time. For example, if you open multiple tabs for the same document, after editing and saving one of the tabs, the other tabs will also automatically synchronize the latest content to avoid dirty data overwriting while enjoying the convenience of multiple openings.


id: 20210104091452-2y1e7m4
parent_id: 20200924100906-0u4zfq3
root_id: 20200924100906-0u4zfq3
hash: d5dc928
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
hpath: /Please Start Here/General Operations/Window and Tab
type: p
ial: {: id="20210104091452-2y1e7m4"}
created: 20210104091452
content:
Except that the document is saved synchronously, the associated rendering generated after saving is also synchronous. The preview of the content block and the relationship diagram related to the document are refreshed in real time, which can eliminate interference to the minimum and let us focus on the notebook.

markdown:
Except that the document is saved synchronously, the associated rendering generated after saving is also synchronous. The preview of the content block and the relationship diagram related to the document are refreshed in real time, which can eliminate interference to the minimum and let us focus on the notebook.


id: 20210104091452-w1rg9or
parent_id: 20200924100906-0u4zfq3
root_id: 20200924100906-0u4zfq3
hash: e6e1e2c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
hpath: /Please Start Here/General Operations/Window and Tab
type: p
ial: {: id="20210104091452-w1rg9or"}
created: 20210104091452
content:
In addition to split-screen operation, the tabs also support drag and drop, so that we can arrange the entire interface as we want, record notes and organize knowledge in our most comfortable layout.

markdown:
In addition to split-screen operation, the tabs also support drag and drop, so that we can arrange the entire interface as we want, record notes and organize knowledge in our most comfortable layout.


id: 20210104091452-2iom04i
parent_id: 20200924100906-0u4zfq3
root_id: 20200924100906-0u4zfq3
hash: 8e98534
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
hpath: /Please Start Here/General Operations/Window and Tab
type: p
ial: {: id="20210104091452-2iom04i" updated="20230128004654"}
created: 20210104091452
updated: 20230128004654
content:
If the screen of the device you are using is small, you can consider use on browser, in this way, the overall interface switching can be performed through the browser instance. If you only need to convert the tab into an independent window, you can right-click on the tab Move to New Window​, or drag the tab to a place outside the current window and release the drag, this also converts the tab into a separate window.

markdown:
If the screen of the device you are using is small, you can consider ((20201004194026-s8h2cog "use on browser")), in this way, the overall interface switching can be performed through the browser instance. If you only need to convert the tab into an independent window, you can right-click on the tab <kbd>Move to New Window</kbd>​, or drag the tab to a place outside the current window and release the drag, this also converts the tab into a separate window.


id: 20220317223639-vfe5e6w
parent_id: 20220511185728-as165rt
root_id: 20200924100808-j9sddk9
hash: a8c4ebf
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: updated="20220511190015" id="20220317223639-vfe5e6w"}
created: 20220317223639
updated: 20220511190015
content:
SiYuan supports importing Markdown files. So if you need to import data from other note-taking software, please convert the data into Markdown files first.

markdown:
SiYuan supports importing Markdown files. So if you need to import data from other note-taking software, please convert the data into Markdown files first.


id: 20220317223639-u3fan6w
parent_id: 20220511185728-as165rt
root_id: 20200924100808-j9sddk9
hash: f2cfddf
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220317223639-u3fan6w" updated="20220317223836"}
created: 20220317223639
updated: 20220317223836
content:
If the image syntax (local relative path) like ![foo](images/bar.png) is encountered during import, SiYuan will convert images/bar.png into assets. But if it is .images/bar.png, it will not be converted, because the path files starting with . are hidden files, SiYuan will not process them.

markdown:
If the image syntax (local relative path) like `![foo](images/bar.png)` is encountered during import, SiYuan will convert `images/bar.png` into ((20200924100744-br924ar "assets")). But if it is `.images/bar.png`, it will not be converted, because the path files starting with `.` are hidden files, SiYuan will not process them.


id: 20220511185726-fsg9r0c
parent_id: 20220511185726-nlnhhsh
root_id: 20200924100808-j9sddk9
hash: da5d0b6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220511185726-fsg9r0c" updated="20220511185757"}
created: 20220511185726
updated: 20220511185757
content:
You can import and export data in Settings - Export on the desktop-end and About on the right sidebar on the mobile-end. The export here will completely copy and pack the workspace/data/ folder into a zip archive.

markdown:
You can import and export data in <kbd>Settings</kbd> - <kbd>Export</kbd> on the desktop-end and <kbd>About</kbd> on the right sidebar on the mobile-end. The export here will completely copy and pack the `workspace/data/` folder into a zip archive.


id: 20220511185726-02j5ggo
parent_id: 20220511185726-nlnhhsh
root_id: 20200924100808-j9sddk9
hash: 0ff2d81
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220511185726-02j5ggo" updated="20220511185841"}
created: 20220511185726
updated: 20220511185841
content:
The Import Data function only supports processing the data archive exported in the above steps. The import is copied to the current workspace/data/ folder according to the file path in the archive:

markdown:
The <kbd>Import Data</kbd> function only supports processing the data archive exported in the above steps. The import is copied to the current `workspace/data/` folder according to the file path in the archive:


id: 20220511185726-sx3r3js
parent_id: 20220511185726-nlnhhsh
root_id: 20200924100808-j9sddk9
hash: 2cf5304
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
fcontent: Duplicate files are overwritten
type: l
subtype: u
ial: {: id="20220511185726-sx3r3js" updated="20220511185920"}
created: 20220511185726
updated: 20220511185920
content:
 Duplicate files are overwritten Add files that do not exist Do not do any processing for existing files

markdown:
* Duplicate files are overwritten
* Add files that do not exist
* Do not do any processing for existing files


id: 20220511185726-1r88nxx
parent_id: 20220511185726-nlnhhsh
root_id: 20200924100808-j9sddk9
hash: 911b110
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
tag: #Note#
type: p
ial: {: id="20220511185726-1r88nxx" updated="20220511185726"}
created: 20220511185726
updated: 20220511185726
content:
#Note#: Please pay attention before use, to avoid existing data being overwritten and unrecoverable.

markdown:
#Note#: Please pay attention before use, to avoid existing data being overwritten and unrecoverable.


id: 20220317223639-hrd8l6o
parent_id: 20220317223639-g5061h8
root_id: 20200924100808-j9sddk9
hash: e5b3648
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220317223639-hrd8l6o" updated="20220317223639"}
created: 20220317223639
updated: 20220317223639
content:
After selecting the content, use the copy shortcut Ctrl+C, and the clipboard is standard Markdown text.

markdown:
After selecting the content, use the copy shortcut <kbd>Ctrl+C</kbd>, and the clipboard is standard Markdown text.


id: 20220317223639-w6wj4mq
parent_id: 20220317223639-g5061h8
root_id: 20200924100808-j9sddk9
hash: 3eccd05
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220317223639-w6wj4mq" updated="20220317224518"}
created: 20220317223639
updated: 20220317224518
content:
If you need to copy HTML content, please switch to Export Preview from Toogle Mode in the ... menu in the upper right corner of the editor tab before copying.

markdown:
If you need to copy HTML content, please switch to <kbd>Export Preview</kbd> from <kbd>Toogle Mode</kbd> in the <kbd>...</kbd> menu in the upper right corner of the editor tab before copying.


id: 20220317223639-otxjla4
parent_id: 20220317223639-8217o1r
root_id: 20200924100808-j9sddk9
hash: ed3a768
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220317223639-otxjla4" updated="20220317224527"}
created: 20220317223639
updated: 20220317224527
content:
After selecting the document on the document tree, right-click and select Export or select Export from the ... menu in the upper right corner of the editor tab:

markdown:
After selecting the document on the document tree, right-click and select <kbd>Export</kbd> or select <kbd>Export</kbd> from the <kbd>...</kbd> menu in the upper right corner of the editor tab:


id: 20220317225021-4jcnk35
parent_id: 20220317223639-8217o1r
root_id: 20200924100808-j9sddk9
hash: 96f31ec
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100808-j9sddk9.sy
hpath: /Please Start Here/General Operations/Import and Export
type: p
ial: {: id="20220317225021-4jcnk35" updated="20220317225021"}
created: 20220317225021
updated: 20220317225021
content:
There are some options in Settings - Export to configure export processing, please refer to the prompt information on this interface for details.

markdown:
There are some options in <kbd>Settings</kbd> - <kbd>Export</kbd> to configure export processing, please refer to the prompt information on this interface for details.


id: 20200924093441-ft2rhps
root_id: 20200924093441-ft2rhps
hash: d6209f9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Formatting elements
fcontent: Formatting elements
type: d
created: 20200924093441
updated: 20230820185102
ial:
{: icon="1f4f0" id="20200924093441-ft2rhps" title="Formatting elements" title-img="background-color:#269;background-image: linear-gradient(white 2px, transparent 2px),linear-gradient(90deg, white 2px, transparent 2px),linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;" type="doc" updated="20230820185102"}


id: 20210104091509-8csaq4j
parent_id: 20210104091509-sg4pt12
root_id: 20200924093441-ft2rhps
hash: 114a1bf
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
tag: #Tag#
fcontent: Please Start Here
type: l
subtype: u
ial: {: id="20210104091509-8csaq4j" updated="20220918174924"}
created: 20210104091509
updated: 20220918174924
content:
 Please Start Here Hyperlink https://ld246.com PictureSupport direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar. assets/siyuan-128-20210604092437-7iqzf90.png 
 Bold  Italic Underline Strikethrough  Mark Superscript Subscript Keymap #Tag# Inline Code a^2 + b^2 = \color{red}c^2
 MemoThis is a memo. Color 1 Color 2  Color 3 Color 4 Color 5 Color 6 Color 7 Color 8 Color 9 Color 10 Color 11 Color 12 Color 13Style 1 Style 2 Trigger an emoji search by typing : followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢

markdown:
* ((20200923234011-ieuun1p "Please Start Here"))
* [Hyperlink](https://ld246.com)
* Picture

  Support direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar.

  ![](assets/siyuan-128-20210604092437-7iqzf90.png){: style="display: block;"}
* **Bold**
* *Italic*
* <u>Underline</u>
* ~~Strikethrough~~
* ==Mark==
* ^Superscript^
* ~Subscript~
* <kbd>Keymap</kbd>
* #Tag#
* `Inline Code`
* $a^2 + b^2 = \color{red}c^2$
* Memo^(This is a memo.)^
* **Color 1**{: style="color: var(--b3-font-color1); background-color: var(--b3-font-background1);"} **Color 2**{: style="color: var(--b3-font-color2); background-color: var(--b3-font-background2);"}  **Color 3**{: style="color: var(--b3-font-color3); background-color: var(--b3-font-background3);"} **Color 4**{: style="color: var(--b3-font-color4); background-color: var(--b3-font-background4);"} **Color 5**{: style="color: var(--b3-font-color5); background-color: var(--b3-font-background5);"} **Color 6**{: style="color: var(--b3-font-color6); background-color: var(--b3-font-background6);"} **Color 7**{: style="color: var(--b3-font-color7); background-color: var(--b3-font-background7);"} **Color 8**{: style="color: var(--b3-font-color8); background-color: var(--b3-font-background8);"} **Color 9**{: style="color: var(--b3-font-color9); background-color: var(--b3-font-background9);"} **Color 10**{: style="color: var(--b3-font-color10); background-color: var(--b3-font-background10);"} **Color 11**{: style="color: var(--b3-font-color11); background-color: var(--b3-font-background11);"} **Color 12**{: style="color: var(--b3-font-color12); background-color: var(--b3-font-background12);"} **Color 13**{: style="color: var(--b3-font-color13); background-color: var(--b3-font-background13);"}

  **Style 1**{: style="-webkit-text-stroke: 0.2px var(--b3-theme-on-background); -webkit-text-fill-color: transparent;"} **Style 2**{: style="text-shadow: 1px 1px var(--b3-border-color), 2px 2px var(--b3-border-color), 3px 3px var(--b3-border-color), 4px 4px var(--b3-border-color);"}
* Trigger an emoji search by typing `:` followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢


id: 20220916200111-8pnrqr2
parent_id: 20210104091509-8csaq4j
root_id: 20200924093441-ft2rhps
hash: 10b044a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
fcontent: Picture
type: i
subtype: u
ial: {: id="20220916200111-8pnrqr2" updated="20220916200115"}
created: 20220916200111
updated: 20220916200115
content:
 PictureSupport direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar. assets/siyuan-128-20210604092437-7iqzf90.png 

markdown:
* Picture

  Support direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar.

  ![](assets/siyuan-128-20210604092437-7iqzf90.png){: style="display: block;"}


id: 20210604225055-4pq8g38
parent_id: 20220916200111-8pnrqr2
root_id: 20200924093441-ft2rhps
hash: 6be4799
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20210604225055-4pq8g38" updated="20210604225153"}
created: 20210604225055
updated: 20210604225153
content:
Support direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar.

markdown:
Support direct copy and paste or drag and upload. After uploading, you can adjust the size by dragging the sidebar.


id: 20210604224724-pa2a6tz
parent_id: 20210104091509-8csaq4j
root_id: 20200924093441-ft2rhps
hash: eccbc2a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: i
subtype: u
ial: {: id="20210604224724-pa2a6tz" updated="20220521234603"}
created: 20210604224724
updated: 20220521234603
content:
 Color 1 Color 2  Color 3 Color 4 Color 5 Color 6 Color 7 Color 8 Color 9 Color 10 Color 11 Color 12 Color 13Style 1 Style 2

fcontent:
Color 1 Color 2  Color 3 Color 4 Color 5 Color 6 Color 7 Color 8 Color 9 Color 10 Color 11 Color 12 Color 13

markdown:
* **Color 1**{: style="color: var(--b3-font-color1); background-color: var(--b3-font-background1);"} **Color 2**{: style="color: var(--b3-font-color2); background-color: var(--b3-font-background2);"}  **Color 3**{: style="color: var(--b3-font-color3); background-color: var(--b3-font-background3);"} **Color 4**{: style="color: var(--b3-font-color4); background-color: var(--b3-font-background4);"} **Color 5**{: style="color: var(--b3-font-color5); background-color: var(--b3-font-background5);"} **Color 6**{: style="color: var(--b3-font-color6); background-color: var(--b3-font-background6);"} **Color 7**{: style="color: var(--b3-font-color7); background-color: var(--b3-font-background7);"} **Color 8**{: style="color: var(--b3-font-color8); background-color: var(--b3-font-background8);"} **Color 9**{: style="color: var(--b3-font-color9); background-color: var(--b3-font-background9);"} **Color 10**{: style="color: var(--b3-font-color10); background-color: var(--b3-font-background10);"} **Color 11**{: style="color: var(--b3-font-color11); background-color: var(--b3-font-background11);"} **Color 12**{: style="color: var(--b3-font-color12); background-color: var(--b3-font-background12);"} **Color 13**{: style="color: var(--b3-font-color13); background-color: var(--b3-font-background13);"}

  **Style 1**{: style="-webkit-text-stroke: 0.2px var(--b3-theme-on-background); -webkit-text-fill-color: transparent;"} **Style 2**{: style="text-shadow: 1px 1px var(--b3-border-color), 2px 2px var(--b3-border-color), 3px 3px var(--b3-border-color), 4px 4px var(--b3-border-color);"}


id: 20210604224728-rs32cdu
parent_id: 20210604224724-pa2a6tz
root_id: 20200924093441-ft2rhps
hash: 24529ea
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20210604224728-rs32cdu" updated="20220521234603"}
created: 20210604224728
updated: 20220521234603
content:
Color 1 Color 2  Color 3 Color 4 Color 5 Color 6 Color 7 Color 8 Color 9 Color 10 Color 11 Color 12 Color 13

markdown:
**Color 1**{: style="color: var(--b3-font-color1); background-color: var(--b3-font-background1);"} **Color 2**{: style="color: var(--b3-font-color2); background-color: var(--b3-font-background2);"}  **Color 3**{: style="color: var(--b3-font-color3); background-color: var(--b3-font-background3);"} **Color 4**{: style="color: var(--b3-font-color4); background-color: var(--b3-font-background4);"} **Color 5**{: style="color: var(--b3-font-color5); background-color: var(--b3-font-background5);"} **Color 6**{: style="color: var(--b3-font-color6); background-color: var(--b3-font-background6);"} **Color 7**{: style="color: var(--b3-font-color7); background-color: var(--b3-font-background7);"} **Color 8**{: style="color: var(--b3-font-color8); background-color: var(--b3-font-background8);"} **Color 9**{: style="color: var(--b3-font-color9); background-color: var(--b3-font-background9);"} **Color 10**{: style="color: var(--b3-font-color10); background-color: var(--b3-font-background10);"} **Color 11**{: style="color: var(--b3-font-color11); background-color: var(--b3-font-background11);"} **Color 12**{: style="color: var(--b3-font-color12); background-color: var(--b3-font-background12);"} **Color 13**{: style="color: var(--b3-font-color13); background-color: var(--b3-font-background13);"}


id: 20210604224728-wxycvn5
parent_id: 20210604224724-pa2a6tz
root_id: 20200924093441-ft2rhps
hash: 820de03
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Style 1 Style 2
type: p
ial: {: updated="20220115192946" id="20210604224728-wxycvn5"}
created: 20210604224728
updated: 20220115192946
markdown:
**Style 1**{: style="-webkit-text-stroke: 0.2px var(--b3-theme-on-background); -webkit-text-fill-color: transparent;"} **Style 2**{: style="text-shadow: 1px 1px var(--b3-border-color), 2px 2px var(--b3-border-color), 3px 3px var(--b3-border-color), 4px 4px var(--b3-border-color);"}


id: 20210604224956-4srnyy7
parent_id: 20210104091509-8csaq4j
root_id: 20200924093441-ft2rhps
hash: 9655fa6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: i
subtype: u
ial: {: id="20210604224956-4srnyy7" updated="20220115193741"}
created: 20210604224956
updated: 20220115193741
content:
 Trigger an emoji search by typing : followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢

fcontent:
Trigger an emoji search by typing : followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢

markdown:
* Trigger an emoji search by typing `:` followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢


id: 20210604224956-3c5ta1w
parent_id: 20210604224956-4srnyy7
root_id: 20200924093441-ft2rhps
hash: 5c2c545
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20210604224956-3c5ta1w" updated="20220115193741"}
created: 20210604224956
updated: 20220115193741
content:
Trigger an emoji search by typing : followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢

markdown:
Trigger an emoji search by typing `:` followed by a letter 😄 😆 😵 😭 😰 😅 😢 😤 😍 😌👍 👎 💯 👏 🔔 🎁 ❓ 💣 ❤️ ☕️ 🌀 🙇 💋 🙏 💢


id: 20210604235911-c703q2f
parent_id: 20210604235929-6qqehly
root_id: 20200924093441-ft2rhps
hash: c5fcb6d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Paragraph 1
markdown: Paragraph 1
type: p
created: 20210604235911
updated: 20210604235915
ial:
{: style="color: var(--b3-card-error-color);background-color: var(--b3-card-error-background);" updated="20210604235915" id="20210604235911-c703q2f"}


id: 20210604235917-ksnu4s8
parent_id: 20210604235929-6qqehly
root_id: 20200924093441-ft2rhps
hash: 1b6954b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Paragraph 2 Center
markdown: Paragraph 2 Center
type: p
created: 20210604235917
updated: 20210612222556
ial:
{: id="20210604235917-ksnu4s8" style="color: var(--b3-card-warning-color); background-color: var(--b3-card-warning-background); text-align: center;" updated="20210612222556"}


id: 20210604235918-8x3pz9s
parent_id: 20210604235934-72p934x
root_id: 20200924093441-ft2rhps
hash: e183e0f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Paragraph 3
markdown: Paragraph 3
type: p
created: 20210604235918
updated: 20210604235921
ial:
{: id="20210604235918-8x3pz9s" style="color: var(--b3-card-info-color);background-color: var(--b3-card-info-background);" updated="20210604235921"}


id: 20210604235918-n3ml6hh
parent_id: 20210604235934-72p934x
root_id: 20200924093441-ft2rhps
hash: b245223
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Paragraph 4 Right
markdown: Paragraph 4 Right
type: p
created: 20210604235918
updated: 20210612222558
ial:
{: id="20210604235918-n3ml6hh" style="color: var(--b3-card-success-color); background-color: var(--b3-card-success-background); text-align: right;" updated="20210612222558"}


id: 20210104091509-4361ij9
parent_id: 20210104091509-dyshnes
root_id: 20200924093441-ft2rhps
hash: a5caf5b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Java Spring IoC AOP Go gofmt Wide Node.js KoaExpress Express
fcontent: Java
type: l
subtype: u
ial: {: id="20210104091509-4361ij9" updated="20210604230004"}
created: 20210104091509
updated: 20210604230004
markdown:
* Java

  * Spring

    * IoC
    * AOP
* Go

  * gofmt
  * Wide
* Node.js

  * KoaExpress
  * Express


id: 20210104091509-14bo3es
parent_id: 20210104091509-6vdzi1s
root_id: 20200924093441-ft2rhps
hash: aac5c2f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: Node.js Express Koa Sails Go gofmt Wide Java Latke IDEA
fcontent: Node.js
type: l
subtype: o
ial: {: id="20210104091509-14bo3es" updated="20210104091509"}
created: 20210104091509
updated: 20210104091509
markdown:
1. Node.js

    1. Express
    2. Koa
    3. Sails
2. Go

    1. gofmt
    2. Wide
3. Java

    1. Latke
    2. IDEA


id: 20210104091509-wae7knn
parent_id: 20210104091509-606oli4
root_id: 20200924093441-ft2rhps
hash: 2a62a80
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20210104091509-wae7knn"}
created: 20210104091509
content:
If the language name is followed by ```, it can have the effect of syntax highlighting, for example:

markdown:
If the language name is followed by ```, it can have the effect of syntax highlighting, for example:


id: 20210104091509-686b9xi
parent_id: 20210104091509-yzs0dlz
root_id: 20200924093441-ft2rhps
hash: 96aad70
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-686b9xi"}
created: 20210104091509
content:
public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }

}

markdown:
```java
public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }

}
```


id: 20210104091509-3a5p9xt
parent_id: 20210104091509-yzs0dlz
root_id: 20200924093441-ft2rhps
hash: e4b6ebd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: b
ial: {: id="20210104091509-3a5p9xt"}
created: 20210104091509
content:
 Tip: Language names support the following: ruby, python, js, html, erb, css, coffee, bash, json, yml,  xml ...

fcontent:
Tip: Language names support the following: ruby, python, js, html, erb, css, coffee, bash, json, yml,  xml ...

markdown:
> Tip: Language names support the following: `ruby`, `python`, `js`, `html`, `erb`, `css`, `coffee`, `bash`, `json`, `yml`, ` xml` ...


id: 20210104091509-ozjt2fc
parent_id: 20210104091509-3a5p9xt
root_id: 20200924093441-ft2rhps
hash: f4986e1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20210104091509-ozjt2fc"}
created: 20210104091509
content:
Tip: Language names support the following: ruby, python, js, html, erb, css, coffee, bash, json, yml,  xml ...

markdown:
Tip: Language names support the following: `ruby`, `python`, `js`, `html`, `erb`, `css`, `coffee`, `bash`, `json`, `yml`, ` xml` ...


id: 20220312004751-frosojs
parent_id: 20220312004745-onue5ab
root_id: 20200924093441-ft2rhps
hash: d202001
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: html
ial: {: updated="20220828102624" id="20220312004751-frosojs"}
created: 20220312004751
updated: 20220828102624
content:
<div>
<ruby>
你<rt>nǐ</rt>
　好<rt>　hǎo</rt>
　世<rt>　shì</rt>
　界<rt>　jiè</rt>
</ruby><br>
Hello World
</div>

markdown:
<div>
<ruby>
你<rt>nǐ</rt>
　好<rt>　hǎo</rt>
　世<rt>　shì</rt>
　界<rt>　jiè</rt>
</ruby><br>
Hello World
</div>


id: 20220828102558-h9c9bwe
parent_id: 20220312004745-onue5ab
root_id: 20200924093441-ft2rhps
hash: 232f555
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: l
subtype: u
ial: {: updated="20220828102558" id="20220828102558-h9c9bwe"}
created: 20220828102558
updated: 20220828102558
content:
 When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS) Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use <div></div> to wrap HTML code and remove blank lines

fcontent:
When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS)

markdown:
* When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS)
* Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use `<div></div>` to wrap HTML code and remove blank lines


id: 20220828102558-8ibvw54
parent_id: 20220828102558-h9c9bwe
root_id: 20200924093441-ft2rhps
hash: 84da110
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: i
subtype: u
ial: {: id="20220828102558-8ibvw54" updated="20220828102558"}
created: 20220828102558
updated: 20220828102558
content:
 When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS)

fcontent:
When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS)

markdown:
* When using the HTML block, the code in it will not be security filtered, please confirm the code is safe before using it to avoid cross-site scripting attack (XSS)


id: 20220828102558-r1v2xmr
parent_id: 20220828102558-h9c9bwe
root_id: 20200924093441-ft2rhps
hash: 9f65dd3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: i
subtype: u
ial: {: id="20220828102558-r1v2xmr" updated="20220828102558"}
created: 20220828102558
updated: 20220828102558
content:
 Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use <div></div> to wrap HTML code and remove blank lines

fcontent:
Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use <div></div> to wrap HTML code and remove blank lines

markdown:
* Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use `<div></div>` to wrap HTML code and remove blank lines


id: 20220828102558-1cg51k8
parent_id: 20220828102558-r1v2xmr
root_id: 20200924093441-ft2rhps
hash: 8ccb780
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: p
ial: {: id="20220828102558-1cg51k8" updated="20220828102558"}
created: 20220828102558
updated: 20220828102558
content:
Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use <div></div> to wrap HTML code and remove blank lines

markdown:
Because the Markdown specification is more complicated for HTML block parsing rules, it is recommended to use `<div></div>` to wrap HTML code and remove blank lines


id: 20210104091509-oizpd0y
parent_id: 20210104091509-5te4mca
root_id: 20200924093441-ft2rhps
hash: 863259a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: m
ial: {: id="20210104091509-oizpd0y" updated="20230328091244"}
created: 20210104091509
updated: 20230328091244
content:
\frac{1}{
  \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{
  \frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {
    1+\frac{e^{-6\pi}}
    {1+\frac{e^{-8\pi}}{1+\cdots}}
  }
}

markdown:
$$
\frac{1}{
  \Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{
  \frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {
    1+\frac{e^{-6\pi}}
    {1+\frac{e^{-8\pi}}{1+\cdots}}
  }
}
$$


id: 20220909095329-0tocxte
parent_id: 20210604230350-ql890l0
root_id: 20200924093441-ft2rhps
hash: 09daaab
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: iframe
ial: {: id="20220909095329-0tocxte" updated="20220909095329"}
created: 20220909095329
updated: 20220909095329
markdown:
<iframe src="https://player.bilibili.com/player.html?bvid=BV1ov41187qM&amp;page=1&amp;high_quality=1&amp;as_wide=1&amp;allowfullscreen=true&amp;aid=247401039&amp;cid=319662466&amp;autoplay=0" data-src="//player.bilibili.com/player.html?aid=247401039&amp;bvid=BV1ov41187qM&amp;cid=319662466&amp;page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" style="width: 981px; height: 440px;" sandbox="allow-top-navigation-by-user-activation allow-same-origin allow-forms allow-scripts allow-popups"></iframe>


id: 20220909095340-rr23xv7
parent_id: 20210608121322-k9l5wuv
root_id: 20200924093441-ft2rhps
hash: 85dc8ec
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: video
ial: {: updated="20220909095340" id="20220909095340-rr23xv7"}
created: 20220909095340
updated: 20220909095340
markdown:
<video controls="controls" src="assets/formatting_elements-20210607225733-o1keasx.mp4" data-src="assets/formatting_elements-20210607213508-y2r3y55-20210608113914-q11ou4j.mp4" style="width: 640px; height: 327px;"></video>


id: 20210608121458-7rrz8f2
parent_id: 20210608121327-5vbk32w
root_id: 20200924093441-ft2rhps
hash: a123f1f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: audio
ial: {: id="20210608121458-7rrz8f2" updated="20210608121458"}
created: 20210608121458
updated: 20210608121458
markdown:
<audio controls="controls" src="assets/record1623077643753-20210607225403-7cg1jkq.wav" data-src="assets/record1623077643753-20210607225403-7cg1jkq-20210608121458-mc4mcvz.wav"></audio>


id: 20210104091509-ilh76fd
parent_id: 20210104091509-v1x69oc
root_id: 20200924093441-ft2rhps
hash: f8f7f0b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-ilh76fd"}
created: 20210104091509
content:
- Tutorial
- Grammar guidance
  - General content
  - Mention users
  - Emoji
    - Some emoji examples
  - Heading-Heading 3
    - Heading 4
      - Heading 5
        - Heading 6
  - Picture
  - Code block
    - Normal
    - Syntax highlighting support
      - Demonstrate Go code highlighting
      - Demo Java highlighting
  - Ordered, disordered, task list
    - Unordered list
    - Ordered list
    - task list
  - Form
  - Hide details
  - Paragraph
  - Link reference
  - Mathematical formula
  - Mind Map
  - Flow chart
  - Timing diagram
  - Gantt chart
  - Chart
  - Staff
  - Graphviz
  - Multimedia
  - Footnote
  - Shortcuts

markdown:
```mindmap
- Tutorial
- Grammar guidance
  - General content
  - Mention users
  - Emoji
    - Some emoji examples
  - Heading-Heading 3
    - Heading 4
      - Heading 5
        - Heading 6
  - Picture
  - Code block
    - Normal
    - Syntax highlighting support
      - Demonstrate Go code highlighting
      - Demo Java highlighting
  - Ordered, disordered, task list
    - Unordered list
    - Ordered list
    - task list
  - Form
  - Hide details
  - Paragraph
  - Link reference
  - Mathematical formula
  - Mind Map
  - Flow chart
  - Timing diagram
  - Gantt chart
  - Chart
  - Staff
  - Graphviz
  - Multimedia
  - Footnote
  - Shortcuts
```


id: 20210104091509-viqif92
parent_id: 20210104091509-oihpzcz
root_id: 20200924093441-ft2rhps
hash: a3b4625
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-viqif92"}
created: 20210104091509
content:
graph TB
    c1-->a2
    subgraph one
    a1-->a2
    end
    subgraph two
    b1-->b2
    end
    subgraph three
    c1-->c2
    end

markdown:
```mermaid
graph TB
    c1-->a2
    subgraph one
    a1-->a2
    end
    subgraph two
    b1-->b2
    end
    subgraph three
    c1-->c2
    end
```


id: 20210104091509-mwfs4sw
parent_id: 20210104091509-fim1ztl
root_id: 20200924093441-ft2rhps
hash: 30e42b8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-mwfs4sw"}
created: 20210104091509
content:
sequenceDiagram
    Alice->>John: Hello John, how are you?
    loop Every minute
        John-->>Alice: Great!
    end

markdown:
```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    loop Every minute
        John-->>Alice: Great!
    end
```


id: 20210104091509-ki9cxs7
parent_id: 20210104091509-gjag91d
root_id: 20200924093441-ft2rhps
hash: ffea3cc
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-ki9cxs7" updated="20210104091509"}
created: 20210104091509
updated: 20210104091509
content:
gantt
    title A Gantt Diagram
    dateFormat YYYY-MM-DD
    section Section
    A task :a1, 2019-01-01, 30d
    Another task :after a1, 20d
    section Another
    Task in sec :2019-01-12, 12d
    another task: 24d

markdown:
```mermaid
gantt
    title A Gantt Diagram
    dateFormat YYYY-MM-DD
    section Section
    A task :a1, 2019-01-01, 30d
    Another task :after a1, 20d
    section Another
    Task in sec :2019-01-12, 12d
    another task: 24d
```


id: 20211221131201-dzwtwxl
parent_id: 20211221131201-rvtulhv
root_id: 20200924093441-ft2rhps
hash: 7c15850
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20211221131201-dzwtwxl" updated="20211221130538"}
created: 20211221131201
updated: 20211221130538
content:
classDiagram
Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class08 <--> C2: Cool label

markdown:
```mermaid
classDiagram
Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class08 <--> C2: Cool label
```


id: 20211221131201-7bh269l
parent_id: 20211221131201-red5ubq
root_id: 20200924093441-ft2rhps
hash: ada837c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: updated="20211221130820" id="20211221131201-7bh269l"}
created: 20211221131201
updated: 20211221130820
content:
journey
    title My working day
    section Go to work
      Make tea: 5: Me
      Go upstairs: 3: Me
      Do work: 1: Me, Cat
    section Go home
      Go downstairs: 5: Me
      Sit down: 5: Me

markdown:
```mermaid
journey
    title My working day
    section Go to work
      Make tea: 5: Me
      Go upstairs: 3: Me
      Do work: 1: Me, Cat
    section Go home
      Go downstairs: 5: Me
      Sit down: 5: Me
```


id: 20211221131201-600dcnw
parent_id: 20211221131201-extvbqp
root_id: 20200924093441-ft2rhps
hash: b6c8275
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20211221131201-600dcnw" updated="20220602101151"}
created: 20211221131201
updated: 20220602101151
content:
    gitGraph
       commit
       commit
       branch develop
       commit
       commit
       commit
       checkout main
       commit
       commit

markdown:
```mermaid
    gitGraph
       commit
       commit
       branch develop
       commit
       commit
       commit
       checkout main
       commit
       commit
```


id: 20211221131201-39tk9i1
parent_id: 20211221131201-2w053g4
root_id: 20200924093441-ft2rhps
hash: 81d446d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20211221131201-39tk9i1" updated="20211221130710"}
created: 20211221131201
updated: 20211221130710
content:
erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses

markdown:
```mermaid
erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
```


id: 20210104091509-2kh9v50
parent_id: 20210104091509-hlh01sn
root_id: 20200924093441-ft2rhps
hash: 8df680a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-2kh9v50" updated="20220820214308"}
created: 20210104091509
updated: 20220820214308
content:
{
  "title": { "text": "Latest 30 days" },
  "backgroundColor": "transparent",
  "tooltip": { "trigger": "axis", "axisPointer": { "lineStyle": { "width": 0 } } },
  "legend": { "data": ["Articles", "Users", "Replies"] },
  "xAxis": [{
      "type": "category",
      "boundaryGap": false,
      "data": ["2019-05-08","2019-05-09","2019-05-10","2019-05-11","2019-05-12","2019-05-13","2019-05-14","2019-05-15","2019-05-16","2019-05-17","2019-05-18","2019-05-19","2019-05-20","2019-05-21","2019-05-22","2019-05-23","2019-05-24","2019-05-25","2019-05-26","2019-05-27","2019-05-28","2019-05-29","2019-05-30","2019-05-31","2019-06-01","2019-06-02","2019-06-03","2019-06-04","2019-06-05","2019-06-06","2019-06-07"],
      "axisTick": { "show": false },
      "axisLine": { "show": false }
  }],
  "yAxis": [{ "type": "value", "axisTick": { "show": false }, "axisLine": { "show": false }, "splitLine": { "lineStyle": { "color": "rgba(0, 0, 0, .38)", "type": "dashed" } } }],
  "series": [
    {
      "name": "Articles", "type": "line", "smooth": true, "itemStyle": { "color": "#d23f31" }, "areaStyle": { "normal": {} }, "z": 3,
      "data": ["18","14","22","9","7","18","10","12","13","16","6","9","15","15","12","15","8","14","9","10","29","22","14","22","9","10","15","9","9","15","0"]
    },
    {
      "name": "Users", "type": "line", "smooth": true, "itemStyle": { "color": "#f1e05a" }, "areaStyle": { "normal": {} }, "z": 2,
      "data": ["31","33","30","23","16","29","23","37","41","29","16","13","39","23","38","136","89","35","22","50","57","47","36","59","14","23","46","44","51","43","0"]
    },
    {
      "name": "Replies", "type": "line", "smooth": true, "itemStyle": { "color": "#4285f4" }, "areaStyle": { "normal": {} }, "z": 1,
      "data": ["35","42","73","15","43","58","55","35","46","87","36","15","44","76","130","73","50","20","21","54","48","73","60","89","26","27","70","63","55","37","0"]
    }
  ]
}

markdown:
```echarts
{
  "title": { "text": "Latest 30 days" },
  "backgroundColor": "transparent",
  "tooltip": { "trigger": "axis", "axisPointer": { "lineStyle": { "width": 0 } } },
  "legend": { "data": ["Articles", "Users", "Replies"] },
  "xAxis": [{
      "type": "category",
      "boundaryGap": false,
      "data": ["2019-05-08","2019-05-09","2019-05-10","2019-05-11","2019-05-12","2019-05-13","2019-05-14","2019-05-15","2019-05-16","2019-05-17","2019-05-18","2019-05-19","2019-05-20","2019-05-21","2019-05-22","2019-05-23","2019-05-24","2019-05-25","2019-05-26","2019-05-27","2019-05-28","2019-05-29","2019-05-30","2019-05-31","2019-06-01","2019-06-02","2019-06-03","2019-06-04","2019-06-05","2019-06-06","2019-06-07"],
      "axisTick": { "show": false },
      "axisLine": { "show": false }
  }],
  "yAxis": [{ "type": "value", "axisTick": { "show": false }, "axisLine": { "show": false }, "splitLine": { "lineStyle": { "color": "rgba(0, 0, 0, .38)", "type": "dashed" } } }],
  "series": [
    {
      "name": "Articles", "type": "line", "smooth": true, "itemStyle": { "color": "#d23f31" }, "areaStyle": { "normal": {} }, "z": 3,
      "data": ["18","14","22","9","7","18","10","12","13","16","6","9","15","15","12","15","8","14","9","10","29","22","14","22","9","10","15","9","9","15","0"]
    },
    {
      "name": "Users", "type": "line", "smooth": true, "itemStyle": { "color": "#f1e05a" }, "areaStyle": { "normal": {} }, "z": 2,
      "data": ["31","33","30","23","16","29","23","37","41","29","16","13","39","23","38","136","89","35","22","50","57","47","36","59","14","23","46","44","51","43","0"]
    },
    {
      "name": "Replies", "type": "line", "smooth": true, "itemStyle": { "color": "#4285f4" }, "areaStyle": { "normal": {} }, "z": 1,
      "data": ["35","42","73","15","43","58","55","35","46","87","36","15","44","76","130","73","50","20","21","54","48","73","60","89","26","27","70","63","55","37","0"]
    }
  ]
}
```


id: 20221225013111-f97ur4a
parent_id: 20210104091509-hlh01sn
root_id: 20200924093441-ft2rhps
hash: e7a285d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
fcontent: JSON
type: l
subtype: u
ial: {: id="20221225013111-f97ur4a" updated="20221225103242"}
created: 20221225013111
updated: 20221225103242
content:
 JSON{
    "propName": "propValue"
}
 JavaScript Object{
    propName: 'propValue',
}
 An Immediately-Invoked Function Expression (IIFE)  that returns a JavaScript Object(() => {
    const option = {};
    option.propName = `propValue`;
    return option;
})()

markdown:
* JSON

  ```json
  {
      "propName": "propValue"
  }
  ```
* JavaScript Object

  ```javascript
  {
      propName: 'propValue',
  }
  ```
* An Immediately-Invoked Function Expression (IIFE)  that returns a JavaScript Object

  ```javascript
  (() => {
      const option = {};
      option.propName = `propValue`;
      return option;
  })()
  ```


id: 20221225013111-jpxi1rx
parent_id: 20221225013111-f97ur4a
root_id: 20200924093441-ft2rhps
hash: 9615338
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
fcontent: An Immediately-Invoked Function Expression (IIFE) that returns a JavaScript Object
type: i
subtype: u
ial: {: updated="20221225013408" id="20221225013111-jpxi1rx"}
created: 20221225013111
updated: 20221225013408
content:
 An Immediately-Invoked Function Expression (IIFE)  that returns a JavaScript Object(() => {
    const option = {};
    option.propName = `propValue`;
    return option;
})()

markdown:
* An Immediately-Invoked Function Expression (IIFE)  that returns a JavaScript Object

  ```javascript
  (() => {
      const option = {};
      option.propName = `propValue`;
      return option;
  })()
  ```


id: 20221225103222-gizv6uz
parent_id: 20221225013111-jpxi1rx
root_id: 20200924093441-ft2rhps
hash: 18a756c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: (() => { const option = {}; option.propName = `propValue`; return option; })()
type: c
ial: {: id="20221225103222-gizv6uz" updated="20221225103227"}
created: 20221225103222
updated: 20221225103227
markdown:
```javascript
(() => {
    const option = {};
    option.propName = `propValue`;
    return option;
})()
```


id: 20210104091509-d5oimqr
parent_id: 20210104091509-j6xq9xm
root_id: 20200924093441-ft2rhps
hash: ce6cce9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-d5oimqr"}
created: 20210104091509
content:
X: 24
T: Clouds Thicken
C: Paul Rosen
S: Copyright 2005, Paul Rosen
M: 6/8
L: 1/8
Q: 3/8=116
R: Creepy Jig
K: Em
|:"Em"EEE E2G|"C7"_B2A G2F|"Em"EEE E2G|\
"C7"_B2A "B7"=B3|"Em"EEE E2G|
"C7"_B2A G2F|"Em"GFE "D (Bm7)"F2D|\
1"Em"E3-E3:|2"Em"E3-E2B|:"Em"e2e gfe|
"G"g2ab3|"Em"gfeg2e|"D"fedB2A|"Em"e2e gfe|\
"G"g2ab3|"Em"gfe"D"f2d|"Em"e3-e3:|

markdown:
```abc
X: 24
T: Clouds Thicken
C: Paul Rosen
S: Copyright 2005, Paul Rosen
M: 6/8
L: 1/8
Q: 3/8=116
R: Creepy Jig
K: Em
|:"Em"EEE E2G|"C7"_B2A G2F|"Em"EEE E2G|\
"C7"_B2A "B7"=B3|"Em"EEE E2G|
"C7"_B2A G2F|"Em"GFE "D (Bm7)"F2D|\
1"Em"E3-E3:|2"Em"E3-E2B|:"Em"e2e gfe|
"G"g2ab3|"Em"gfeg2e|"D"fedB2A|"Em"e2e gfe|\
"G"g2ab3|"Em"gfe"D"f2d|"Em"e3-e3:|
```


id: 20210104091509-5oabbxe
parent_id: 20210104091509-p75cyqy
root_id: 20200924093441-ft2rhps
hash: 387810b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-5oabbxe" updated="20210104091509"}
created: 20210104091509
updated: 20210104091509
content:
digraph finite_state_machine {
     rankdir=LR;
     size="8,5"
     node [shape = doublecircle]; S;
     node [shape = point ]; qi

     node [shape = circle];
     qi -> S;
     S -> q1 [label = "a" ];
     S -> S [label = "a" ];
     q1 -> S [label = "a" ];
     q1 -> q2 [label = "ddb" ];
     q2 -> q1 [label = "b" ];
     q2 -> q2 [label = "b" ];
}

markdown:
```graphviz
digraph finite_state_machine {
     rankdir=LR;
     size="8,5"
     node [shape = doublecircle]; S;
     node [shape = point ]; qi

     node [shape = circle];
     qi -> S;
     S -> q1 [label = "a" ];
     S -> S [label = "a" ];
     q1 -> S [label = "a" ];
     q1 -> q2 [label = "ddb" ];
     q2 -> q1 [label = "b" ];
     q2 -> q2 [label = "b" ];
}
```


id: 20210104091509-u0vtq1c
parent_id: 20210104091509-3e348ea
root_id: 20200924093441-ft2rhps
hash: 58149db
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
type: c
ial: {: id="20210104091509-u0vtq1c"}
created: 20210104091509
content:
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end

st->op->cond
cond(yes)->e
cond(no)->op

markdown:
```flowchart
st=>start: Start
op=>operation: Your Operation
cond=>condition: Yes or No?
e=>end

st->op->cond
cond(yes)->e
cond(no)->op
```


id: 20210201203424-ohqom70
parent_id: 20210201203412-n26xya3
root_id: 20200924093441-ft2rhps
hash: 7d4ca31
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-h361q1i/20200924093441-ft2rhps.sy
hpath: /Please Start Here/Editor/Formatting elements
content: @startuml component actor client node app database db db -> app app -> client @enduml
type: c
ial: {: id="20210201203424-ohqom70"}
created: 20210201203424
markdown:
```plantuml
@startuml component
actor client
node app
database db
db -> app
app -> client
@enduml
```


id: 20221025092947-gd0wmbi
parent_id: 20210104091447-8iiuxlt
root_id: 20201004194026-s8h2cog
hash: 9f1b27f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: p
ial: {: id="20221025092947-gd0wmbi" updated="20221025093054"}
created: 20221025092947
updated: 20221025093054
content:
In Settings​ - About​ - Use on browser​ - Open browser​, you can directly use SiYuan on the browser, if you need to use it in the local area network, replace 127.0.0.1​ with the local area network IP address.

markdown:
In <kbd>Settings</kbd>​ - <kbd>About</kbd>​ - <kbd>Use on browser</kbd>​ - <kbd>Open browser</kbd>​, you can directly use SiYuan on the browser, if you need to use it in the local area network, replace `127.0.0.1`​ with the local area network IP address.


id: 20221025092947-5m97t0e
parent_id: 20210104091447-8iiuxlt
root_id: 20201004194026-s8h2cog
hash: ac6643f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: p
ial: {: id="20221025092947-5m97t0e" updated="20231022211844"}
created: 20221025092947
updated: 20231022211844
content:
In addition to the use of the local LAN, the use of the public network can be achieved by the following two methods:

markdown:
In addition to the use of the local LAN, the use of the public network can be achieved by the following two methods:


id: 20210104091447-6y4386v
parent_id: 20210104091447-8iiuxlt
root_id: 20201004194026-s8h2cog
hash: c0cd6a1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: l
subtype: u
ial: {: id="20210104091447-6y4386v" updated="20221025093157"}
created: 20210104091447
updated: 20221025093157
content:
 Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended) Build your own SiYuan Server (recommended)

fcontent:
Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended)

markdown:
* Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended)
* Build your own SiYuan Server (recommended)


id: 20210104091447-2wey9jj
parent_id: 20210104091447-6y4386v
root_id: 20201004194026-s8h2cog
hash: 9124198
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: i
subtype: u
ial: {: id="20210104091447-2wey9jj"}
created: 20210104091447
content:
 Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended)

fcontent:
Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended)

markdown:
* Publish local kernel services on the public network through the "intranet penetration" technology (more troublesome and unstable, not recommended)


id: 20210104091447-br9zpri
parent_id: 20210104091447-8iiuxlt
root_id: 20201004194026-s8h2cog
hash: 90c728f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: p
ial: {: id="20210104091447-br9zpri" updated="20230820191236"}
created: 20210104091447
updated: 20230820191236
content:
Before embarking on these two solutions, please start with understanding SiYuan Technical Architecture (github repo: siyuan-note/siyuan).

markdown:
Before embarking on these two solutions, please start with understanding SiYuan Technical Architecture (github repo: siyuan-note/siyuan).


id: 20210104091447-3vmymbk
parent_id: 20210104091447-dluat0m
root_id: 20201004194026-s8h2cog
hash: 59c9279
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201004194026-s8h2cog.sy
hpath: /Please Start Here/General Operations/Use on browser
type: p
ial: {: id="20210104091447-3vmymbk" updated="20210522214406"}
created: 20210104091447
updated: 20210522214406
content:
In Settings - About, you can configure the browser access authentication password. Leaving it blank means that authentication is not enabled. This is more useful in open networks (such as office spaces and public networks), and only after authentication can you enter the work space.

markdown:
In <kbd>Settings</kbd> - <kbd>About</kbd>, you can configure the browser access authentication password. Leaving it blank means that authentication is not enabled. This is more useful in open networks (such as office spaces and public networks), and only after authentication can you enter the work space.


id: 20210503095710-1vp1uxw
parent_id: 20210503095708-2g6bgl4
root_id: 20200924100744-br924ar
hash: 8f938ac
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20210503095710-1vp1uxw" updated="20220711121739"}
created: 20210503095710
updated: 20220711121739
content:
Attachments inserted through the editor will be regarded as asset files and will be placed in the workspace/data/assets/ folder by default.

markdown:
Attachments inserted through the editor will be regarded as asset files and will be placed in the `workspace/data/assets/` folder by default.


id: 20220824172815-s8znsau
parent_id: 20201210194734-v2rmiaq
root_id: 20200924100744-br924ar
hash: 68572ff
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220824172815-s8znsau" updated="20220905215835"}
created: 20220824172815
updated: 20220905215835
content:
In the editor, you can directly paste the copied picture or file in the system clipboard (not supported on Linux), or insert it by dragging and dropping the picture or file into the editor. There are two options when inserting:

markdown:
In the editor, you can directly paste the copied picture or file in the system clipboard (not supported on Linux), or insert it by dragging and dropping the picture or file into the editor. There are two options when inserting:


id: 20220824172815-ckivl7c
parent_id: 20201210194734-v2rmiaq
root_id: 20200924100744-br924ar
hash: 7a5268f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: l
subtype: u
ial: {: updated="20220902220108" id="20220824172815-ckivl7c"}
created: 20220824172815
updated: 20220902220108
content:
 Copy as an asset and insert: Copy a picture or file as a resource file and insert, shortcut key Ctrl+V Use file:// absolute path and link: Insert a picture or file into a hyperlink as a local absolute path, shortcut key Ctrl+Shift+V, or hold down Alt and drag in

fcontent:
Copy as an asset and insert: Copy a picture or file as a resource file and insert, shortcut key Ctrl+V

markdown:
* <kbd>Copy as an asset and insert</kbd>: Copy a picture or file as a resource file and insert, shortcut key <kbd>Ctrl+V</kbd>
* <kbd>Use file:// absolute path and link</kbd>: Insert a picture or file into a hyperlink as a local absolute path, shortcut key <kbd>Ctrl+Shift+V</kbd>, or hold down <kbd>Alt</kbd> and drag in


id: 20220824172815-q1oeusj
parent_id: 20220824172815-ckivl7c
root_id: 20200924100744-br924ar
hash: db41325
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20220824172815-q1oeusj" updated="20220902220108"}
created: 20220824172815
updated: 20220902220108
content:
 Copy as an asset and insert: Copy a picture or file as a resource file and insert, shortcut key Ctrl+V

fcontent:
Copy as an asset and insert: Copy a picture or file as a resource file and insert, shortcut key Ctrl+V

markdown:
* <kbd>Copy as an asset and insert</kbd>: Copy a picture or file as a resource file and insert, shortcut key <kbd>Ctrl+V</kbd>


id: 20220824172815-fqyy0l6
parent_id: 20220824172815-q1oeusj
root_id: 20200924100744-br924ar
hash: 7531564
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220824172815-fqyy0l6" updated="20220902220108"}
created: 20220824172815
updated: 20220902220108
content:
Copy as an asset and insert: Copy a picture or file as a resource file and insert, shortcut key Ctrl+V

markdown:
<kbd>Copy as an asset and insert</kbd>: Copy a picture or file as a resource file and insert, shortcut key <kbd>Ctrl+V</kbd>


id: 20220824172815-0lsclx1
parent_id: 20220824172815-ckivl7c
root_id: 20200924100744-br924ar
hash: 520ef06
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20220824172815-0lsclx1" updated="20220902220045"}
created: 20220824172815
updated: 20220902220045
content:
 Use file:// absolute path and link: Insert a picture or file into a hyperlink as a local absolute path, shortcut key Ctrl+Shift+V, or hold down Alt and drag in

fcontent:
Use file:// absolute path and link: Insert a picture or file into a hyperlink as a local absolute path, shortcut key Ctrl+Shift+V, or hold down Alt and drag in

markdown:
* <kbd>Use file:// absolute path and link</kbd>: Insert a picture or file into a hyperlink as a local absolute path, shortcut key <kbd>Ctrl+Shift+V</kbd>, or hold down <kbd>Alt</kbd> and drag in


id: 20220824172815-dqfasin
parent_id: 20220824172815-0lsclx1
root_id: 20200924100744-br924ar
hash: 5571415
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220824172815-dqfasin" updated="20220902220045"}
created: 20220824172815
updated: 20220902220045
content:
Use file:// absolute path and link: Insert a picture or file into a hyperlink as a local absolute path, shortcut key Ctrl+Shift+V, or hold down Alt and drag in

markdown:
<kbd>Use file:// absolute path and link</kbd>: Insert a picture or file into a hyperlink as a local absolute path, shortcut key <kbd>Ctrl+Shift+V</kbd>, or hold down <kbd>Alt</kbd> and drag in


id: 20220824172815-6f3pj5z
parent_id: 20201210194734-v2rmiaq
root_id: 20200924100744-br924ar
hash: 4a64fd2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220824172815-6f3pj5z" updated="20220824172910"}
created: 20220824172815
updated: 20220824172910
content:
For pictures, if a picture title is specified during layout, the title will be rendered below the picture as a legend.

markdown:
For pictures, if a picture title is specified during layout, the title will be rendered below the picture as a legend.


id: 20210104091430-yd3zyeu
parent_id: 20201210194734-v2rmiaq
root_id: 20200924100744-br924ar
hash: ec7cb93
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20210104091430-yd3zyeu" updated="20220824172752"}
created: 20210104091430
updated: 20220824172752
content:
siyuan-128.png assets/siyuan-128-20210604092437-7iqzf90.png When one drinks water, one must not forget where it comes from

markdown:
![siyuan-128.png](assets/siyuan-128-20210604092437-7iqzf90.png "When one drinks water, one must not forget where it comes from"){: style="display: block;" parent-style="display: block;"}


id: 20230505084028-ztfxqzm
parent_id: 20201210194734-v2rmiaq
root_id: 20200924100744-br924ar
hash: 6cf6317
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
tag: #Note#
type: p
ial: {: id="20230505084028-ztfxqzm" updated="20230505084035"}
created: 20230505084028
updated: 20230505084035
content:
​#Note#​: Inserting pictures will not be compressed, and all pictures and files will be saved as original data.

markdown:
​#Note#​: Inserting pictures will not be compressed, and all pictures and files will be saved as original data.


id: 20220920003905-soehefi
parent_id: 20210115224203-q8bj2gd
root_id: 20200924100744-br924ar
hash: b33a0a8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220920003905-soehefi" updated="20220920003954"}
created: 20220920003905
updated: 20220920003954
content:
A "Reference" refers to a link to a asset file via a hyperlink, an inserted image, or the src attribute of an HTML tag (such as <img>, <iframe>). There are two cases here:

markdown:
A "Reference" refers to a link to a asset file via a hyperlink, an inserted image, or the `src` attribute of an HTML tag (such as `<img>`, `<iframe>`). There are two cases here:


id: 20210115224203-r3mwskz
parent_id: 20210115224203-q8bj2gd
root_id: 20200924100744-br924ar
hash: dacbd35
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: l
subtype: o
ial: {: id="20210115224203-r3mwskz" updated="20220711122005"}
created: 20210115224203
updated: 20220711122005
content:
 Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is annotated, it will not count towards cleanup whether it is referenced or not Reference to a asset folder (a subfolder under the assets folder) must end with /, such as [foo](assets/bar/). If a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced.

fcontent:
Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is annotated, it will not count towards cleanup whether it is referenced or not

markdown:
1. Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is ((20210923104413-csbeop3 "annotated")), it will not count towards cleanup whether it is referenced or not
2. Reference to a asset folder (a subfolder under the assets folder) must end with `/`, such as `[foo](assets/bar/)`. 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-1g8zvdg
parent_id: 20210115224203-r3mwskz
root_id: 20200924100744-br924ar
hash: e848410
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: o
ial: {: id="20210115224203-1g8zvdg" updated="20220711122005"}
created: 20210115224203
updated: 20220711122005
content:
 Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is annotated, it will not count towards cleanup whether it is referenced or not

fcontent:
Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is annotated, it will not count towards cleanup whether it is referenced or not

markdown:
1. Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is ((20210923104413-csbeop3 "annotated")), it will not count towards cleanup whether it is referenced or not


id: 20210204172630-7rtyepg
parent_id: 20210115224203-1g8zvdg
root_id: 20200924100744-br924ar
hash: 24eeeaa
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20210204172630-7rtyepg" updated="20220711122005"}
created: 20210204172630
updated: 20220711122005
content:
Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is annotated, it will not count towards cleanup whether it is referenced or not

markdown:
Reference to a specific asset file, such as a picture or a file. If the asset file is a PDF and is ((20210923104413-csbeop3 "annotated")), it will not count towards cleanup whether it is referenced or not


id: 20210115224203-xb0ycqg
parent_id: 20210115224203-r3mwskz
root_id: 20200924100744-br924ar
hash: d5f484d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: o
ial: {: id="20210115224203-xb0ycqg" updated="20220711121811"}
created: 20210115224203
updated: 20220711121811
content:
 Reference to a asset folder (a subfolder under the assets folder) must end with /, such as [foo](assets/bar/). If a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced.

fcontent:
Reference to a asset folder (a subfolder under the assets folder) must end with /, such as [foo](assets/bar/). If a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced.

markdown:
2. Reference to a asset folder (a subfolder under the assets folder) must end with `/`, such as `[foo](assets/bar/)`. 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: 20210204172630-kq680iv
parent_id: 20210115224203-xb0ycqg
root_id: 20200924100744-br924ar
hash: b7d3108
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20210204172630-kq680iv" updated="20220711121811"}
created: 20210204172630
updated: 20220711121811
content:
Reference to a asset folder (a subfolder under the assets folder) must end with /, such as [foo](assets/bar/). If a asset folder is referenced, all the following asset files will be counted as already referenced regardless of whether they are individually referenced.

markdown:
Reference to a asset folder (a subfolder under the assets folder) must end with `/`, such as `[foo](assets/bar/)`. 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
parent_id: 20210115224203-q8bj2gd
root_id: 20200924100744-br924ar
hash: 8efcfc4
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20210115224203-e03wglt" updated="20210512160530"}
created: 20210115224203
updated: 20210512160530
content:
In Settings - Assets, you can clean up unreferenced assets by one-click. If you need to retrieve files that have been deleted by mistake, please via Rollback.

markdown:
In <kbd>Settings</kbd> - <kbd>Assets</kbd>, you can clean up unreferenced assets by one-click. If you need to retrieve files that have been deleted by mistake, please via ((20210104091559-kgrtuyh "Rollback")).


id: 20230604120616-95dv931
parent_id: 20230604120616-qjigoyt
root_id: 20200924100744-br924ar
hash: e9cb9b5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230604120616-95dv931" updated="20230604120637"}
created: 20230604120616
updated: 20230604120637
content:
You can view the missing resources in Settings​ - Assets​, and you can find the references in the global search after copying the path.

markdown:
You can view the missing resources in <kbd>Settings</kbd>​ - <kbd>Assets</kbd>​, and you can find the references in the global search after copying the path.


id: 20230604120616-tjs4mx0
parent_id: 20230604120616-qjigoyt
root_id: 20200924100744-br924ar
hash: 5221bc6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
tag: #Note#
content: ​#Note#​: To search asset paths, you need to enable Settings​ - Search​ - Index​ - Asset Path​.
type: p
ial: {: id="20230604120616-tjs4mx0" updated="20230604120806"}
created: 20230604120616
updated: 20230604120806
markdown:
​#Note#​: To search asset paths, you need to enable <kbd>Settings</kbd>​ - <kbd>Search</kbd>​ - <kbd>Index</kbd>​ - <kbd>Asset Path</kbd>​.


id: 20220503122349-0xq3b7m
parent_id: 20220503122349-eacedlu
root_id: 20200924100744-br924ar
hash: 3f9f74b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220503122349-0xq3b7m" updated="20220503122433"}
created: 20220503122349
updated: 20220503122433
content:
If you need to place the inserted assets in the assets folder at the same level as the document by default, you need to manually create a folder named assets first, so that SiYuan will preferentially select the assets folder to store the assets.

markdown:
If you need to place the inserted assets in the assets folder at the same level as the document by default, you need to manually create a folder named assets first, so that SiYuan will preferentially select the assets folder to store the assets.


id: 20220503122349-b6tsifa
parent_id: 20220503122349-eacedlu
root_id: 20200924100744-br924ar
hash: 806b237
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20220503122349-b6tsifa" updated="20220503122459"}
created: 20220503122349
updated: 20220503122459
content:
It is recommended not to use notebook-level assets as much as possible, as this has some side effects:

markdown:
It is recommended not to use notebook-level assets as much as possible, as this has some side effects:


id: 20220503122349-o26mvnq
parent_id: 20220503122349-eacedlu
root_id: 20200924100744-br924ar
hash: f7dadb8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: l
subtype: u
ial: {: id="20220503122349-o26mvnq" updated="20220715105117"}
created: 20220503122349
updated: 20220715105117
content:
 When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches Does not support viewing notebook-level assets history in data history Dose not support search by /Assets Dose not support rename

fcontent:
When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches

markdown:
* When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches
* Does not support viewing notebook-level assets history in data history
* Dose not support search by `/Assets`
* Dose not support rename


id: 20220503122349-192fehc
parent_id: 20220503122349-o26mvnq
root_id: 20200924100744-br924ar
hash: 85e2562
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20220503122349-192fehc" updated="20220503122616"}
created: 20220503122349
updated: 20220503122616
content:
 When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches

fcontent:
When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches

markdown:
* When deleting the notebook, in order to ensure that cross-notebook asset references work properly, the assets under the notebook will be copied to the global assets in batches


id: 20230117003636-0buf00n
parent_id: 20230117003636-epvk98g
root_id: 20200924100744-br924ar
hash: bf8a056
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230117003636-0buf00n" updated="20230820185510"}
created: 20230117003636
updated: 20230820185510
content:
This feature is only supported on the desktop, and the Tesseract OCR program needs to be manually installed first. 

markdown:
This feature is only supported on the desktop, and the *Tesseract OCR* program needs to be manually installed first.


id: 20230202231731-bdh7lab
parent_id: 20230117003636-epvk98g
root_id: 20200924100744-br924ar
hash: 459b3be
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: l
subtype: u
ial: {: id="20230202231731-bdh7lab" updated="20231110112758"}
created: 20230202231731
updated: 20231110112758
content:
 When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable PATH​, so that SiYuan can directly call the tesseract​ command to extract text from image OCR. If the installation is normal, you can search for tesseract-ocr enabled​ in the kernel boot log; If you want to disable OCR, set the environment variable SIYUAN\_TESSERACT\_ENABLED=false​ SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only eng​​, chi*​​, fra​​, spa​​, deu​​, rus​​ and osd​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable SIYUAN_TESSERACT_LANGS​​, such as SIYUAN_TESSERACT_LANGS=chi_sim+eng​​ Only images in png and jpg formats are supported By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable SIYUAN_TESSERACT_MAX_SIZE​​, the unit of value is bytes, for example: SIYUAN_TESSERACT_MAX_SIZE=4000000​​ adjust the upper limit to 4MB

fcontent:
When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable PATH​, so that SiYuan can directly call the tesseract​ command to extract text from image OCR. If the installation is normal, you can search for tesseract-ocr enabled​ in the kernel boot log; If you want to disable OCR, set the environment variable SIYUAN\_TESSERACT\_ENABLED=false​

markdown:
* When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable `PATH`​, so that SiYuan can directly call the `tesseract`​ command to extract text from image OCR. If the installation is normal, you can search for `tesseract-ocr enabled`​ in the kernel boot log; If you want to disable OCR, set the environment variable `SIYUAN\_TESSERACT\_ENABLED=false`​
* SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only `eng`​​, `chi*`​​, `fra`​​, `spa`​​, `deu`​​, `rus`​​ and `osd`​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable `SIYUAN_TESSERACT_LANGS`​​, such as `SIYUAN_TESSERACT_LANGS=chi_sim+eng`​​
* Only images in png and jpg formats are supported
* By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable `SIYUAN_TESSERACT_MAX_SIZE`​​, the unit of value is bytes, for example: `SIYUAN_TESSERACT_MAX_SIZE=4000000`​​ adjust the upper limit to 4MB


id: 20230202231732-n7z8jth
parent_id: 20230202231731-bdh7lab
root_id: 20200924100744-br924ar
hash: 5765bf6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20230202231732-n7z8jth" updated="20231110112758"}
created: 20230202231732
updated: 20231110112758
content:
 When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable PATH​, so that SiYuan can directly call the tesseract​ command to extract text from image OCR. If the installation is normal, you can search for tesseract-ocr enabled​ in the kernel boot log; If you want to disable OCR, set the environment variable SIYUAN\_TESSERACT\_ENABLED=false​

fcontent:
When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable PATH​, so that SiYuan can directly call the tesseract​ command to extract text from image OCR. If the installation is normal, you can search for tesseract-ocr enabled​ in the kernel boot log; If you want to disable OCR, set the environment variable SIYUAN\_TESSERACT\_ENABLED=false​

markdown:
* When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable `PATH`​, so that SiYuan can directly call the `tesseract`​ command to extract text from image OCR. If the installation is normal, you can search for `tesseract-ocr enabled`​ in the kernel boot log; If you want to disable OCR, set the environment variable `SIYUAN\_TESSERACT\_ENABLED=false`​


id: 20230202231732-f3jkj7p
parent_id: 20230202231732-n7z8jth
root_id: 20200924100744-br924ar
hash: e78b66d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230202231732-f3jkj7p" updated="20231110112758"}
created: 20230202231732
updated: 20231110112758
content:
When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable PATH​, so that SiYuan can directly call the tesseract​ command to extract text from image OCR. If the installation is normal, you can search for tesseract-ocr enabled​ in the kernel boot log; If you want to disable OCR, set the environment variable SIYUAN\_TESSERACT\_ENABLED=false​

markdown:
When installing Tesseract OCR, you need to check the language pack you need, and add the installed Tesseract-OCR directory path to the environment variable `PATH`​, so that SiYuan can directly call the `tesseract`​ command to extract text from image OCR. If the installation is normal, you can search for `tesseract-ocr enabled`​ in the kernel boot log; If you want to disable OCR, set the environment variable `SIYUAN\_TESSERACT\_ENABLED=false`​


id: 20230202231800-z8hswmk
parent_id: 20230202231731-bdh7lab
root_id: 20200924100744-br924ar
hash: bbf7388
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20230202231800-z8hswmk" updated="20230211103154"}
created: 20230202231800
updated: 20230211103154
content:
 SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only eng​​, chi*​​, fra​​, spa​​, deu​​, rus​​ and osd​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable SIYUAN_TESSERACT_LANGS​​, such as SIYUAN_TESSERACT_LANGS=chi_sim+eng​​

fcontent:
SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only eng​​, chi*​​, fra​​, spa​​, deu​​, rus​​ and osd​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable SIYUAN_TESSERACT_LANGS​​, such as SIYUAN_TESSERACT_LANGS=chi_sim+eng​​

markdown:
* SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only `eng`​​, `chi*`​​, `fra`​​, `spa`​​, `deu`​​, `rus`​​ and `osd`​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable `SIYUAN_TESSERACT_LANGS`​​, such as `SIYUAN_TESSERACT_LANGS=chi_sim+eng`​​


id: 20230202231800-c3x45ky
parent_id: 20230202231800-z8hswmk
root_id: 20200924100744-br924ar
hash: ba61966
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230202231800-c3x45ky" updated="20230211103154"}
created: 20230202231800
updated: 20230211103154
content:
SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only eng​​, chi*​​, fra​​, spa​​, deu​​, rus​​ and osd​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable SIYUAN_TESSERACT_LANGS​​, such as SIYUAN_TESSERACT_LANGS=chi_sim+eng​​

markdown:
SiYuan does not enable all installed language packs, because too many language packs will cause OCR to be slow or even timeout and return empty results, and take up too many system resources, so by default only `eng`​​, `chi*`​​, `fra`​​, `spa`​​, `deu`​​, `rus`​​ and `osd`​​ will be enabled at most, if you need more accurate language support, you can specify the language pack by configuring the environment variable `SIYUAN_TESSERACT_LANGS`​​, such as `SIYUAN_TESSERACT_LANGS=chi_sim+eng`​​


id: 20230211102834-fx3o5su
parent_id: 20230202231731-bdh7lab
root_id: 20200924100744-br924ar
hash: d377703
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20230211102834-fx3o5su" updated="20230211102928"}
created: 20230211102834
updated: 20230211102928
content:
 By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable SIYUAN_TESSERACT_MAX_SIZE​​, the unit of value is bytes, for example: SIYUAN_TESSERACT_MAX_SIZE=4000000​​ adjust the upper limit to 4MB

fcontent:
By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable SIYUAN_TESSERACT_MAX_SIZE​​, the unit of value is bytes, for example: SIYUAN_TESSERACT_MAX_SIZE=4000000​​ adjust the upper limit to 4MB

markdown:
* By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable `SIYUAN_TESSERACT_MAX_SIZE`​​, the unit of value is bytes, for example: `SIYUAN_TESSERACT_MAX_SIZE=4000000`​​ adjust the upper limit to 4MB


id: 20230211102834-3jzjdrv
parent_id: 20230211102834-fx3o5su
root_id: 20200924100744-br924ar
hash: d8e8166
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230211102834-3jzjdrv" updated="20230211102928"}
created: 20230211102834
updated: 20230211102928
content:
By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable SIYUAN_TESSERACT_MAX_SIZE​​, the unit of value is bytes, for example: SIYUAN_TESSERACT_MAX_SIZE=4000000​​ adjust the upper limit to 4MB

markdown:
By default, only images below 2MB are processed. If you need to adjust, you can set the environment variable `SIYUAN_TESSERACT_MAX_SIZE`​​, the unit of value is bytes, for example: `SIYUAN_TESSERACT_MAX_SIZE=4000000`​​ adjust the upper limit to 4MB


id: 20230117003636-ouxlaen
parent_id: 20230117003636-epvk98g
root_id: 20200924100744-br924ar
hash: 7ec8e5d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230117003636-ouxlaen" updated="20230117003636"}
created: 20230117003636
updated: 20230117003636
content:
Image OCR extracts text automatically in the background, currently only supports PNG and JPG images. The extracted text is used in the search function, so that images can be located by text keywords.

markdown:
Image OCR extracts text automatically in the background, currently only supports PNG and JPG images. The extracted text is used in the search function, so that images can be located by text keywords.


id: 20230414203027-6py4l9z
parent_id: 20230414202934-1h96or8
root_id: 20200924100744-br924ar
hash: 7475c57
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: p
ial: {: id="20230414203027-6py4l9z" updated="20230414203027"}
created: 20230414203027
updated: 20230414203027
content:
The OCR results are saved in workspace/data/assets/ocr-texts.json​, and the OCR results can be adjusted in the following ways:

markdown:
The OCR results are saved in `workspace/data/assets/ocr-texts.json`​, and the OCR results can be adjusted in the following ways:


id: 20230414203027-ga8zni5
parent_id: 20230414202934-1h96or8
root_id: 20200924100744-br924ar
hash: d185f56
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: l
subtype: u
ial: {: id="20230414203027-ga8zni5" updated="20230414203046"}
created: 20230414203027
updated: 20230414203046
content:
 After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format) Or select OCR​ from the image element menu in the editor

fcontent:
After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format)

markdown:
* After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format)
* Or select <kbd>OCR</kbd>​ from the image element menu in the editor


id: 20230414203027-n8cc4ra
parent_id: 20230414203027-ga8zni5
root_id: 20200924100744-br924ar
hash: 2a57d54
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
hpath: /Please Start Here/General Operations/Assets
type: i
subtype: u
ial: {: id="20230414203027-n8cc4ra" updated="20230414203036"}
created: 20230414203027
updated: 20230414203036
content:
 After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format)

fcontent:
After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format)

markdown:
* After exiting SiYuan, modify the file on the file system (please pay attention to the correctness of the JSON format)


id: 20210104091444-bu1zdhb
parent_id: 20210428223009-x6fyksm
root_id: 20201204184532-3qm9l8n
hash: c5073fb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-bu1zdhb" updated="20210428232129"}
created: 20210104091444
updated: 20210428232129
content:
The template snippet is used to quickly insert the previously set text content at the cursor caret position, and it supports variables. Template snippets use .md suffix files and are stored in the data/templates folder of the workspace.

markdown:
The template snippet is used to quickly insert the previously set text content at the cursor caret position, and it supports variables. Template snippets use `.md` suffix files and are stored in the data/templates folder of the workspace.


id: 20210104091444-ycq0a40
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 1dab4fb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-ycq0a40" updated="20210502205109"}
created: 20210104091444
updated: 20210502205109
content:
The template is implemented using The Go Programming Language text template https://golang.org/pkg/text/template/. If you have an understanding of this, you can implement some program logic in it, such as comparison logic , Iterative logic, etc. In addition, to avoid syntax conflicts, template syntax uses .action{action} (instead of {{action}}).

markdown:
The template is implemented using [The Go Programming Language text template](https://golang.org/pkg/text/template/). If you have an understanding of this, you can implement some program logic in it, such as comparison logic , Iterative logic, etc. In addition, to avoid syntax conflicts, template syntax uses `.action{action}` (instead of `{{action}}`).


id: 20210104091444-c7gg3ak
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 762ac4a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-c7gg3ak" updated="20230820185644"}
created: 20210104091444
updated: 20230820185644
content:
We have built-in variables and functions to enrich the template through the open source project Sprig (github repo: Masterminds/sprig). For example, you can use .action{now | date "2006-01-02 15:04:05"}​ to render the current time. For more usage, please refer to Sprig Function Documentation http://masterminds.github.io/sprig/.

markdown:
We have built-in variables and functions to enrich the template through the open source project Sprig (github repo: Masterminds/sprig). For example, you can use `.action{now | date "2006-01-02 15:04:05"}`​ to render the current time. For more usage, please refer to [Sprig Function Documentation](http://masterminds.github.io/sprig/).


id: 20210104091444-i618qd8
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 2961c2b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
tag: #Note#
type: p
ial: {: id="20210104091444-i618qd8" updated="20210428223421"}
created: 20210104091444
updated: 20210428223421
content:
There is a detail about the date and time formatting. #Note#: The formatting of the Go programming language is quite special: Instead of using yyyy-MM-dd HH:mm:ss, use 2006-01-02 15:04: 05 This fixed time format (related discussions on Stack Overflow https://stackoverflow.com/questions/20530327/origin-of-mon-jan-2-150405-mst-2006-in-golang).

markdown:
There is a detail about the date and time formatting. #Note#: The formatting of the Go programming language is quite special: Instead of using `yyyy-MM-dd HH:mm:ss`, use `2006-01-02 15:04: 05` This fixed time format ([related discussions on Stack Overflow](https://stackoverflow.com/questions/20530327/origin-of-mon-jan-2-150405-mst-2006-in-golang)).


id: 20210104091444-2wbdokx
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: a62a5aa
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-2wbdokx"}
created: 20210104091444
content:
In addition to the built-in variables and functions of Sprig, the following variables and functions are also supported:

markdown:
In addition to the built-in variables and functions of Sprig, the following variables and functions are also supported:


id: 20210104091444-mwbvc9m
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 1cb1c5f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: l
subtype: u
ial: {: id="20210104091444-mwbvc9m" updated="20211213121210"}
created: 20210104091444
updated: 20211213121210
content:
 title: Use this variable to insert the current document name. For example, if the template content is # .action{.title}, it will be inserted into the current document content with the first-level heading syntax after invoking id：Use this variable to insert the current document id name: Use this variable to insert the current document name alias：Use this variable to insert the current document alias queryBlocks: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: .action{sql "SELECT * FROM blocks LIMIT 7"} querySpans: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: .action{sql "SELECT * FROM spans LIMIT 7"} parseTime: This function is used to parse a string in time format into a time.Time type so that more formatting methods can be used to render the time

fcontent:
title: Use this variable to insert the current document name. For example, if the template content is # .action{.title}, it will be inserted into the current document content with the first-level heading syntax after invoking

markdown:
* `title`: Use this variable to insert the current document name. For example, if the template content is `# .action{.title}`, it will be inserted into the current document content with the first-level heading syntax after invoking
* `id`：Use this variable to insert the current document id
* `name`: Use this variable to insert the current document name
* `alias`：Use this variable to insert the current document alias
* `queryBlocks`: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM blocks LIMIT 7"}`
* `querySpans`: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM spans LIMIT 7"}`
* `parseTime`: This function is used to parse a string in time format into a `time.Time` type so that more formatting methods can be used to render the time


id: 20210104091444-d5hpwdd
parent_id: 20210104091444-mwbvc9m
root_id: 20201204184532-3qm9l8n
hash: 44a6bdd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: i
subtype: u
ial: {: id="20210104091444-d5hpwdd"}
created: 20210104091444
content:
 title: Use this variable to insert the current document name. For example, if the template content is # .action{.title}, it will be inserted into the current document content with the first-level heading syntax after invoking

fcontent:
title: Use this variable to insert the current document name. For example, if the template content is # .action{.title}, it will be inserted into the current document content with the first-level heading syntax after invoking

markdown:
* `title`: Use this variable to insert the current document name. For example, if the template content is `# .action{.title}`, it will be inserted into the current document content with the first-level heading syntax after invoking


id: 20210131162138-93wovlc
parent_id: 20210104091444-d5hpwdd
root_id: 20201204184532-3qm9l8n
hash: 05cdd1b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210131162138-93wovlc" updated="20210502205126"}
created: 20210131162138
updated: 20210502205126
content:
title: Use this variable to insert the current document name. For example, if the template content is # .action{.title}, it will be inserted into the current document content with the first-level heading syntax after invoking

markdown:
`title`: Use this variable to insert the current document name. For example, if the template content is `# .action{.title}`, it will be inserted into the current document content with the first-level heading syntax after invoking


id: 20210121193829-wfzsf6m
parent_id: 20210104091444-mwbvc9m
root_id: 20201204184532-3qm9l8n
hash: ee894ee
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: i
subtype: u
ial: {: id="20210121193829-wfzsf6m"}
created: 20210121193829
content:
 queryBlocks: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: .action{sql "SELECT * FROM blocks LIMIT 7"}

fcontent:
queryBlocks: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: .action{sql "SELECT * FROM blocks LIMIT 7"}

markdown:
* `queryBlocks`: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM blocks LIMIT 7"}`


id: 20210131162138-7ufhbho
parent_id: 20210121193829-wfzsf6m
root_id: 20201204184532-3qm9l8n
hash: 05a96e4
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: updated="20210504093006" id="20210131162138-7ufhbho"}
created: 20210131162138
updated: 20210504093006
content:
queryBlocks: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: .action{sql "SELECT * FROM blocks LIMIT 7"}

markdown:
`queryBlocks`: This function is used to query the database, and the return value is a list of blocks,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM blocks LIMIT 7"}`


id: 20210504093232-vukp34t
parent_id: 20210104091444-mwbvc9m
root_id: 20201204184532-3qm9l8n
hash: 1e4e816
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: i
subtype: u
ial: {: id="20210504093232-vukp34t"}
created: 20210504093232
content:
 querySpans: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: .action{sql "SELECT * FROM spans LIMIT 7"}

fcontent:
querySpans: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: .action{sql "SELECT * FROM spans LIMIT 7"}

markdown:
* `querySpans`: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM spans LIMIT 7"}`


id: 20210504093232-6wxl589
parent_id: 20210504093232-vukp34t
root_id: 20201204184532-3qm9l8n
hash: f1ddb21
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210504093232-6wxl589" updated="20210504093302"}
created: 20210504093232
updated: 20210504093302
content:
querySpans: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: .action{sql "SELECT * FROM spans LIMIT 7"}

markdown:
`querySpans`: This function is used to query the database, and the return value is a list of spans,  and the parameter is a SQL statement: `.action{sql "SELECT * FROM spans LIMIT 7"}`


id: 20211213121042-5n981ru
parent_id: 20210104091444-mwbvc9m
root_id: 20201204184532-3qm9l8n
hash: d6e4b90
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: i
subtype: u
ial: {: id="20211213121042-5n981ru" updated="20211213121210"}
created: 20211213121042
updated: 20211213121210
content:
 parseTime: This function is used to parse a string in time format into a time.Time type so that more formatting methods can be used to render the time

fcontent:
parseTime: This function is used to parse a string in time format into a time.Time type so that more formatting methods can be used to render the time

markdown:
* `parseTime`: This function is used to parse a string in time format into a `time.Time` type so that more formatting methods can be used to render the time


id: 20211213121042-g7gd7p5
parent_id: 20211213121042-5n981ru
root_id: 20201204184532-3qm9l8n
hash: ddd10a1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20211213121042-g7gd7p5" updated="20211213121210"}
created: 20211213121042
updated: 20211213121210
content:
parseTime: This function is used to parse a string in time format into a time.Time type so that more formatting methods can be used to render the time

markdown:
`parseTime`: This function is used to parse a string in time format into a `time.Time` type so that more formatting methods can be used to render the time


id: 20210604111714-yc1e5gj
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 38a51ef
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210604111714-yc1e5gj" updated="20210604111715"}
created: 20210604111714
updated: 20210604111715
content:
queryBlocks and querySpans support variable parameter lists similar to SQL prepared statements to facilitate the input of parameters:

markdown:
`queryBlocks` and `querySpans` support variable parameter lists similar to SQL prepared statements to facilitate the input of parameters:


id: 20210604111750-c3sm3jr
parent_id: 20210104091444-jy56z0p
root_id: 20201204184532-3qm9l8n
hash: 7604a16
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: c
ial: {: id="20210604111750-c3sm3jr" updated="20210604111632"}
created: 20210604111750
updated: 20210604111632
content:
.action{$today := now | date "20060102150405"}
.action{$blocks :=queryBlocks "SELECT * FROM blocks WHERE content LIKE '?' AND updated > '?' LIMIT ?" "%foo%" $today "3"}

markdown:
```
.action{$today := now | date "20060102150405"}
.action{$blocks :=queryBlocks "SELECT * FROM blocks WHERE content LIKE '?' AND updated > '?' LIMIT ?" "%foo%" $today "3"}
```


id: 20210104091444-gfccosk
parent_id: 20210104091444-4re70bp
root_id: 20201204184532-3qm9l8n
hash: ba3199a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-gfccosk" updated="20210428223517"}
created: 20210104091444
updated: 20210428223517
content:
At the cursor caret position, select the template via / to trigger the template search, find the template that needs to be inserted and press Enter.

markdown:
At the cursor caret position, select the template via `/` to trigger the template search, find the template that needs to be inserted and press Enter.


id: 20210104091444-cclnk66
parent_id: 20210104091444-xz57sof
root_id: 20201204184532-3qm9l8n
hash: 863256b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: c
ial: {: id="20210104091444-cclnk66"}
created: 20210104091444
content:
.action{$before := (div (now.Sub (toDate "2006-01-02" "2020-02-19")).Hours 24)}

.action{$after := (div ((toDate "2006-01-02" "2048-02-19").Sub now).Hours 24)}
Today is `.action{now | date "2006-01-02"}`.

* `.action{$before}` days have passed since `2020-02-19`
* There are `.action{$after}` days left from `2048-02-19`

markdown:
```plaintext
.action{$before := (div (now.Sub (toDate "2006-01-02" "2020-02-19")).Hours 24)}

.action{$after := (div ((toDate "2006-01-02" "2048-02-19").Sub now).Hours 24)}
Today is `.action{now | date "2006-01-02"}`.

* `.action{$before}` days have passed since `2020-02-19`
* There are `.action{$after}` days left from `2048-02-19`
```


id: 20210104091444-rku6ohp
parent_id: 20210104091444-xz57sof
root_id: 20201204184532-3qm9l8n
hash: 6f97407
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201204184532-3qm9l8n.sy
hpath: /Please Start Here/General Operations/Template snippet
type: p
ial: {: id="20210104091444-rku6ohp"}
created: 20210104091444
content:
$before and $after define two variables to record the number of days from the current date to 2020 and 2048, respectively.

markdown:
`$before` and `$after` define two variables to record the number of days from the current date to 2020 and 2048, respectively.


id: 20210110181041-j47iwxx
parent_id: 20210110181011-fbhoesf
root_id: 20210110181011-fbhoesf
hash: e6864cd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210110181011-fbhoesf.sy
hpath: /Please Start Here/General Operations/Daily notes
type: p
ial: {: id="20210110181041-j47iwxx" updated="20210302223722"}
created: 20210110181041
updated: 20210302223722
content:
We can quickly create a document through the daily note. The entry of the daily note function in the top toolbar looks like a calendar button.

markdown:
We can quickly create a document through the daily note. The entry of the daily note function in the top toolbar looks like a calendar button.


id: 20210110181041-dnap16f
parent_id: 20210110181011-fbhoesf
root_id: 20210110181011-fbhoesf
hash: 6d3f30f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210110181011-fbhoesf.sy
hpath: /Please Start Here/General Operations/Daily notes
type: p
ial: {: id="20210110181041-dnap16f" updated="20210303230545"}
created: 20210110181041
updated: 20210303230545
content:
But before using the daily note, you need to select settings in the right-click drop-down menu of the notebook, and configure in the new diary settings:

markdown:
But before using the daily note, you need to select settings in the right-click drop-down menu of the notebook, and configure in the new diary settings:


id: 20210110181041-24ejxr4
parent_id: 20210110181011-fbhoesf
root_id: 20210110181011-fbhoesf
hash: 702feb1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210110181011-fbhoesf.sy
hpath: /Please Start Here/General Operations/Daily notes
fcontent: Storage path: the path under the notebook, support template variables
type: l
subtype: u
ial: {: id="20210110181041-24ejxr4"}
created: 20210110181041
content:
 Storage path: the path under the notebook, support template variables Template path (optional): use this template as the initial content when creating the daily note

markdown:
* Storage path: the path under the notebook, support ((20210104091444-c7gg3ak "template variables"))
* Template path (optional): use this template as the initial content when creating the daily note


id: 20210110181041-3dq1cg4
parent_id: 20210110181041-24ejxr4
root_id: 20210110181011-fbhoesf
hash: cebf0bd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210110181011-fbhoesf.sy
hpath: /Please Start Here/General Operations/Daily notes
content: Storage path: the path under the notebook, support template variables
fcontent: Storage path: the path under the notebook, support template variables
type: i
subtype: u
ial: {: id="20210110181041-3dq1cg4"}
created: 20210110181041
markdown:
* Storage path: the path under the notebook, support ((20210104091444-c7gg3ak "template variables"))


id: 20210110181041-vntbiya
parent_id: 20210110181011-fbhoesf
root_id: 20210110181011-fbhoesf
hash: cf656f6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210110181011-fbhoesf.sy
hpath: /Please Start Here/General Operations/Daily notes
type: p
ial: {: id="20210110181041-vntbiya" updated="20210501173308"}
created: 20210110181041
updated: 20210501173308
content:
Tips: Use in the specified template Embed Content Block to summarize to-do items or content blocks that need to be viewed daily.

markdown:
Tips: Use in the specified template ((20201117112518-dott91x "Embed Content Block")) to summarize to-do items or content blocks that need to be viewed daily.


id: 20210127203829-pgeb2cg
parent_id: 20210923104343-69c6qn3
root_id: 20210127203829-qe2mzof
hash: 1a9c4ea
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210127203829-qe2mzof.sy
hpath: /Please Start Here/General Operations/PDF annotation
type: p
ial: {: id="20210127203829-pgeb2cg" updated="20210923104359"}
created: 20210127203829
updated: 20210923104359
content:
After the PDF file is uploaded and inserted through the editor, the PDF will be placed in the assets folder, and a link in the form of [filename](assets/filename.pdf) will be generated in the document. Click the link to use SiYuan for preview.

markdown:
After the PDF file is uploaded and inserted through the editor, the PDF will be placed in the assets folder, and a link in the form of `[filename](assets/filename.pdf)` will be generated in the document. Click the link to use SiYuan for preview.


id: 20210127203843-1gpz3u0
parent_id: 20210923104400-zd9cymb
root_id: 20210127203829-qe2mzof
hash: ec49513
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210127203829-qe2mzof.sy
hpath: /Please Start Here/General Operations/PDF annotation
type: p
ial: {: id="20210127203843-1gpz3u0"}
created: 20210127203843
content:
Open the new tab to preview the PDF and support the specified page number. You need to add the parameter page to the link. For example, if you need to jump to the seventh page, edit the link to [filename](assets/filename.pdf?page=7) .

markdown:
Open the new tab to preview the PDF and support the specified page number. You need to add the parameter `page` to the link. For example, if you need to jump to the seventh page, edit the link to `[filename](assets/filename.pdf?page=7)` .


id: 20210923104454-ltkpsaa
parent_id: 20210923104413-csbeop3
root_id: 20210127203829-qe2mzof
hash: f3aa32f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210127203829-qe2mzof.sy
hpath: /Please Start Here/General Operations/PDF annotation
fcontent: Click the reference link in the document to open the PDF and jump to the annotation
type: l
subtype: u
ial: {: id="20210923104454-ltkpsaa" updated="20210923104540"}
created: 20210923104454
updated: 20210923104540
content:
 Click the reference link in the document to open the PDF and jump to the annotation Hover the mark in the PDF to preview the ref block

markdown:
* Click the reference link in the document to open the PDF and jump to the annotation
* Hover the mark in the PDF to preview the ref block


id: 20201227201751-oe2am4n
parent_id: 20201227201751-w3gbqzd
root_id: 20201227201128-m1wrouw
hash: c027f67
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20201227201751-oe2am4n"}
created: 20201227201751
content:
The overall program is located under /opt/siyuan/, which is basically the structure under the resources folder of the Electron installation package:

markdown:
The overall program is located under `/opt/siyuan/`, which is basically the structure under the resources folder of the Electron installation package:


id: 20201227201751-ep0guzc
parent_id: 20201227201751-w3gbqzd
root_id: 20201227201128-m1wrouw
hash: 3706202
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
fcontent: appearance: icon, theme, languages
type: l
subtype: u
ial: {: id="20201227201751-ep0guzc"}
created: 20201227201751
content:
 appearance: icon, theme, languages guide: user guide document stage: interface and static resources kernel: kernel program

markdown:
* appearance: icon, theme, languages
* guide: user guide document
* stage: interface and static resources
* kernel: kernel program


id: 20201227201751-tbpaexo
parent_id: 20201227201751-5d6snqe
root_id: 20201227201128-m1wrouw
hash: 4c16006
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20201227201751-tbpaexo" updated="20210301202831"}
created: 20201227201751
updated: 20210301202831
content:
The entry point is set when building the Docker image: ENTRYPOINT ["/opt/siyuan/kernel" ], use docker run b3log/siyuan with parameters to start:

markdown:
The entry point is set when building the Docker image: `ENTRYPOINT ["/opt/siyuan/kernel" ]`, use `docker run b3log/siyuan` with parameters to start:


id: 20210301202938-prn2v5a
parent_id: 20201227201751-5d6snqe
root_id: 20201227201128-m1wrouw
hash: 1bc3b83
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20210301202938-prn2v5a" updated="20231108220518"}
created: 20210301202938
updated: 20231108220518
content:
More parameters can refer to here. The following is an example of a startup command: docker run -d -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container​

markdown:
More parameters can refer to ((20200924100717-yzwzn64 "here")). The following is an example of a startup command: `docker run -d -v workspace_dir_host:workspace_dir_container -p 6806:6806 b3log/siyuan --workspace=workspace_dir_container`​


id: 20201227201751-pt653to
parent_id: 20201227201751-5d6snqe
root_id: 20201227201128-m1wrouw
hash: 6389428
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
fcontent: workspace_dir_host: the workspace folder path on the host
type: l
subtype: u
ial: {: id="20201227201751-pt653to"}
created: 20201227201751
content:
 workspace_dir_host: the workspace folder path on the host workspace_dir_container: The path of the workspace folder in the container, which is the same as specified in --workspace

markdown:
* `workspace_dir_host`: the workspace folder path on the host
* `workspace_dir_container`: The path of the workspace folder in the container, which is the same as specified in `--workspace`


id: 20201227201751-pw8tdgg
parent_id: 20201227201751-pt653to
root_id: 20201227201128-m1wrouw
hash: 19a49a0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: i
subtype: u
ial: {: id="20201227201751-pw8tdgg"}
created: 20201227201751
content:
 workspace_dir_container: The path of the workspace folder in the container, which is the same as specified in --workspace

fcontent:
workspace_dir_container: The path of the workspace folder in the container, which is the same as specified in --workspace

markdown:
* `workspace_dir_container`: The path of the workspace folder in the container, which is the same as specified in `--workspace`


id: 20210208152449-y2ogxyt
parent_id: 20201227201751-pw8tdgg
root_id: 20201227201128-m1wrouw
hash: 66e238d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20210208152449-y2ogxyt" updated="20210502171606"}
created: 20210208152449
updated: 20210502171606
content:
workspace_dir_container: The path of the workspace folder in the container, which is the same as specified in --workspace

markdown:
`workspace_dir_container`: The path of the workspace folder in the container, which is the same as specified in `--workspace`


id: 20201227201751-yyfayag
parent_id: 20201227201751-5d6snqe
root_id: 20201227201128-m1wrouw
hash: d5910c6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20201227201751-yyfayag" updated="20231108220523"}
created: 20201227201751
updated: 20231108220523
content:
To simplify, it is recommended to configure the workspace folder path to be consistent on the host and container, such as: workspace_dir_host​ and workspace_dir_container​ are configured as /siyuan/workspace​, the corresponding startup commands is: docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/​.

markdown:
To simplify, it is recommended to configure the workspace folder path to be consistent on the host and container, such as: `workspace_dir_host`​ and `workspace_dir_container`​ are configured as `/siyuan/workspace`​, the corresponding startup commands is: `docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/`​.


id: 20211112103104-jfoive7
parent_id: 20211112103107-kqrmi1a
root_id: 20201227201128-m1wrouw
hash: cc0448e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: p
ial: {: id="20211112103104-jfoive7" updated="20220521231639"}
created: 20211112103104
updated: 20220521231639
content:
In the image, the normal user siyuan (uid 1000/gid 1000) created by default is used to start the kernel process. Therefore, when the host creates a workspace folder, please pay attention to setting the user group of the folder:  chown -R 1000:1000 /siyuan/workspace. The parameter -u 1000:1000 is required when starting the container.

markdown:
In the image, the normal user `siyuan` (uid 1000/gid 1000) created by default is used to start the kernel process. Therefore, when the host creates a workspace folder, please pay attention to setting the user group of the folder:  `chown -R 1000:1000 /siyuan/workspace`. The parameter `-u 1000:1000` is required when starting the container.


id: 20230406105311-ryrh0n4
parent_id: 20230406105311-bzg0oxo
root_id: 20201227201128-m1wrouw
hash: f4688ce
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: l
subtype: u
ial: {: id="20230406105311-ryrh0n4" updated="20230406105311"}
created: 20230406105311
updated: 20230406105311
content:
 Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted Do not use URL rewriting for redirection, otherwise there may be problems with authentication, it is recommended to configure a reverse proxy

fcontent:
Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted

markdown:
* Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted
* Do not use URL rewriting for redirection, otherwise there may be problems with authentication, it is recommended to configure a reverse proxy


id: 20230406105311-a36930z
parent_id: 20230406105311-ryrh0n4
root_id: 20201227201128-m1wrouw
hash: 9d4e737
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: i
subtype: u
ial: {: id="20230406105311-a36930z" updated="20230406105311"}
created: 20230406105311
updated: 20230406105311
content:
 Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted

fcontent:
Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted

markdown:
* Be sure to confirm the correctness of the mounted volume, otherwise the data will be lost after the container is deleted


id: 20230406105311-ejgppdg
parent_id: 20230406105311-ryrh0n4
root_id: 20201227201128-m1wrouw
hash: 1a160e2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
type: i
subtype: u
ial: {: updated="20230406105311" id="20230406105311-ejgppdg"}
created: 20230406105311
updated: 20230406105311
content:
 Do not use URL rewriting for redirection, otherwise there may be problems with authentication, it is recommended to configure a reverse proxy

fcontent:
Do not use URL rewriting for redirection, otherwise there may be problems with authentication, it is recommended to configure a reverse proxy

markdown:
* Do not use URL rewriting for redirection, otherwise there may be problems with authentication, it is recommended to configure a reverse proxy


id: 20230406105311-jvtmuhi
parent_id: 20230406105311-sq5f3qj
root_id: 20201227201128-m1wrouw
hash: dc860e5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20201227201128-m1wrouw.sy
hpath: /Please Start Here/General Operations/Docker hosting
fcontent: Does not support desktop and mobile application connections, only supports use on browsers
type: l
subtype: u
ial: {: id="20230406105311-jvtmuhi" updated="20230406105617"}
created: 20230406105311
updated: 20230406105617
content:
 Does not support desktop and mobile application connections, only supports use on browsers Export to PDF, HTML and Word formats is not supported Import Markdown file is not supported

markdown:
* Does not support desktop and mobile application connections, only supports use on browsers
* Export to PDF, HTML and Word formats is not supported
* Import Markdown file is not supported


id: 20210505165011-6extglt
parent_id: 20210505165011-7ovy57s
root_id: 20210505164949-c085p1d
hash: 309c5df
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: p
ial: {: id="20210505165011-6extglt" updated="20210505165028"}
created: 20210505165011
updated: 20210505165028
content:
"Web Clipping" refers to copying the content on the Web page to SiYuan, and keeping its original format as much as possible.

markdown:
"Web Clipping" refers to copying the content on the Web page to SiYuan, and keeping its original format as much as possible.


id: 20210505165011-7ik6g6y
parent_id: 20210505165011-h715v6a
root_id: 20210505164949-c085p1d
hash: 11c3271
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: l
subtype: u
ial: {: id="20210505165011-7ik6g6y" updated="20230621111806"}
created: 20210505165011
updated: 20230621111806
content:
 If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan If you need to pull the pictures contained in the clipped content to the local, you can use SiYuan Chrome Extension https://liuyun.io/article/1692529862454

fcontent:
If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan

markdown:
* If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan
* If you need to pull the pictures contained in the clipped content to the local, you can use [SiYuan Chrome Extension](https://liuyun.io/article/1692529862454)


id: 20210505165011-jccqwcs
parent_id: 20210505165011-7ik6g6y
root_id: 20210505164949-c085p1d
hash: 37398f2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: i
subtype: u
ial: {: id="20210505165011-jccqwcs"}
created: 20210505165011
content:
 If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan

fcontent:
If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan

markdown:
* If you do not need to pull the pictures contained in the clipped content to the local, you can directly select copy in the browser, and then paste it in SiYuan


id: 20210505165011-h6wqx9o
parent_id: 20210505165011-7ik6g6y
root_id: 20210505164949-c085p1d
hash: ba2d52f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: i
subtype: u
ial: {: id="20210505165011-h6wqx9o" updated="20230621111806"}
created: 20210505165011
updated: 20230621111806
content:
 If you need to pull the pictures contained in the clipped content to the local, you can use SiYuan Chrome Extension https://liuyun.io/article/1692529862454

fcontent:
If you need to pull the pictures contained in the clipped content to the local, you can use SiYuan Chrome Extension https://liuyun.io/article/1692529862454

markdown:
* If you need to pull the pictures contained in the clipped content to the local, you can use [SiYuan Chrome Extension](https://liuyun.io/article/1692529862454)


id: 20210505165011-crzzegk
parent_id: 20210505165011-h6wqx9o
root_id: 20210505164949-c085p1d
hash: b6e7b9d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: p
ial: {: id="20210505165011-crzzegk" updated="20230621111806"}
created: 20210505165011
updated: 20230621111806
content:
If you need to pull the pictures contained in the clipped content to the local, you can use SiYuan Chrome Extension https://liuyun.io/article/1692529862454

markdown:
If you need to pull the pictures contained in the clipped content to the local, you can use [SiYuan Chrome Extension](https://liuyun.io/article/1692529862454)


id: 20210820171625-1k4iq6x
parent_id: 20210531181045-0x2syfg
root_id: 20210505164949-c085p1d
hash: b72ff08
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: l
subtype: o
ial: {: id="20210820171625-1k4iq6x" updated="20210820171820"}
created: 20210820171625
updated: 20210820171820
content:
 Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About) Select the content to be clipped on the web page, and then select "Copy to SiYuan" from the right-click menu Paste in SiYuan

fcontent:
Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About)

markdown:
1. Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About)
2. Select the content to be clipped on the web page, and then select "Copy to SiYuan" from the right-click menu
3. Paste in SiYuan


id: 20210820171625-vjo1bcb
parent_id: 20210820171625-1k4iq6x
root_id: 20210505164949-c085p1d
hash: 541a6f1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: i
subtype: o
ial: {: id="20210820171625-vjo1bcb" updated="20210820171820"}
created: 20210820171625
updated: 20210820171820
content:
 Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About)

fcontent:
Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About)

markdown:
1. Install the extension, configure the API token in the extended options (token can be viewed in SiYuan Settings - About)


id: 20210820171625-0cvfa1x
parent_id: 20210820171625-1k4iq6x
root_id: 20210505164949-c085p1d
hash: 24a62ef
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210505164949-c085p1d.sy
hpath: /Please Start Here/General Operations/Web Clipping
type: i
subtype: o
ial: {: id="20210820171625-0cvfa1x"}
created: 20210820171625
content:
 Select the content to be clipped on the web page, and then select "Copy to SiYuan" from the right-click menu

fcontent:
Select the content to be clipped on the web page, and then select "Copy to SiYuan" from the right-click menu

markdown:
2. Select the content to be clipped on the web page, and then select "Copy to SiYuan" from the right-click menu


id: 20210331201206-pqjejoj
parent_id: 20210331201142-dwke6pz
root_id: 20210331201142-4g923es
hash: 7794048
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: p
ial: {: id="20210331201206-pqjejoj" updated="20210331201214"}
created: 20210331201206
updated: 20210331201214
content:
If you need to pull up the SiYuan desktop application in other places (such as a browser or software that supports hyperlinks), you can use the siyuan:// hyperlink.

markdown:
If you need to pull up the SiYuan desktop application in other places (such as a browser or software that supports hyperlinks), you can use the `siyuan://` hyperlink.


id: 20210331201206-ozhui09
parent_id: 20210331201206-uas6ebz
root_id: 20210331201142-4g923es
hash: 3069651
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: p
ial: {: id="20210331201206-ozhui09" updated="20210502203113"}
created: 20210331201206
updated: 20210502203113
content:
siyuan://blocks/{id}: Open the content block directly, and the notebook where the block is located is already open.

markdown:
`siyuan://blocks/{id}`: Open the content block directly, and the notebook where the block is located is already open.


id: 20210331201206-rkvtd1b
parent_id: 20210331201206-o84lpl5
root_id: 20210331201142-4g923es
hash: bc77c9d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: l
subtype: u
ial: {: id="20210331201206-rkvtd1b" updated="20220407101643"}
created: 20210331201206
updated: 20220407101643
content:
 After startup on Windows and macOS, it will automatically apply to the system for registration of the siyuan:// protocol On Linux try the following steps Create or find the siyuan.desktop file and open it for editing MimeType=MimeType=x-scheme-handler/siyuan; Add %u at the end of Exec, that is, Exec=executable file path %u Execute the following commandssudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
For more details, refer to xdg-utils https://www.freedesktop.org/wiki/Software/xdg-utils/. Block icon menu - Copy - Copy block hyperlink

fcontent:
After startup on Windows and macOS, it will automatically apply to the system for registration of the siyuan:// protocol

markdown:
* After startup on Windows and macOS, it will automatically apply to the system for registration of the `siyuan://` protocol
* On Linux try the following steps

  * Create or find the `siyuan.desktop` file and open it for editing

    * `MimeType=MimeType=x-scheme-handler/siyuan;`
    * Add `%u` at the end of `Exec`, that is, `Exec=executable file path %u`
  * Execute the following commands

    ```java
    sudo update-desktop-database
    xdg-mime default siyuan.desktop x-scheme-handler/siyuan
    xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
    ```

    For more details, refer to [xdg-utils](https://www.freedesktop.org/wiki/Software/xdg-utils/).
* Block icon menu - Copy - Copy block hyperlink


id: 20210331201206-xoqqqbg
parent_id: 20210331201206-rkvtd1b
root_id: 20210331201142-4g923es
hash: 5b3aefb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: i
subtype: u
ial: {: id="20210331201206-xoqqqbg"}
created: 20210331201206
content:
 After startup on Windows and macOS, it will automatically apply to the system for registration of the siyuan:// protocol

fcontent:
After startup on Windows and macOS, it will automatically apply to the system for registration of the siyuan:// protocol

markdown:
* After startup on Windows and macOS, it will automatically apply to the system for registration of the `siyuan://` protocol


id: 20210331201206-9iow0ri
parent_id: 20210331201206-xoqqqbg
root_id: 20210331201142-4g923es
hash: e23970e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: p
ial: {: id="20210331201206-9iow0ri" updated="20220407101343"}
created: 20210331201206
updated: 20220407101343
content:
After startup on Windows and macOS, it will automatically apply to the system for registration of the siyuan:// protocol

markdown:
After startup on Windows and macOS, it will automatically apply to the system for registration of the `siyuan://` protocol


id: 20220407101343-vd9llkw
parent_id: 20210331201206-rkvtd1b
root_id: 20210331201142-4g923es
hash: e4ea230
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
fcontent: On Linux try the following steps
type: i
subtype: u
ial: {: id="20220407101343-vd9llkw" updated="20220407101410"}
created: 20220407101343
updated: 20220407101410
content:
 On Linux try the following steps Create or find the siyuan.desktop file and open it for editing MimeType=MimeType=x-scheme-handler/siyuan; Add %u at the end of Exec, that is, Exec=executable file path %u Execute the following commandssudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
For more details, refer to xdg-utils https://www.freedesktop.org/wiki/Software/xdg-utils/.

markdown:
* On Linux try the following steps

  * Create or find the `siyuan.desktop` file and open it for editing

    * `MimeType=MimeType=x-scheme-handler/siyuan;`
    * Add `%u` at the end of `Exec`, that is, `Exec=executable file path %u`
  * Execute the following commands

    ```java
    sudo update-desktop-database
    xdg-mime default siyuan.desktop x-scheme-handler/siyuan
    xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
    ```

    For more details, refer to [xdg-utils](https://www.freedesktop.org/wiki/Software/xdg-utils/).


id: 20220407101344-deo5hik
parent_id: 20220407101343-vd9llkw
root_id: 20210331201142-4g923es
hash: a644247
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
fcontent: Create or find the siyuan.desktop file and open it for editing
type: l
subtype: u
ial: {: id="20220407101344-deo5hik" updated="20220407101410"}
created: 20220407101344
updated: 20220407101410
content:
 Create or find the siyuan.desktop file and open it for editing MimeType=MimeType=x-scheme-handler/siyuan; Add %u at the end of Exec, that is, Exec=executable file path %u Execute the following commandssudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
For more details, refer to xdg-utils https://www.freedesktop.org/wiki/Software/xdg-utils/.

markdown:
* Create or find the `siyuan.desktop` file and open it for editing

  * `MimeType=MimeType=x-scheme-handler/siyuan;`
  * Add `%u` at the end of `Exec`, that is, `Exec=executable file path %u`
* Execute the following commands

  ```java
  sudo update-desktop-database
  xdg-mime default siyuan.desktop x-scheme-handler/siyuan
  xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
  ```

  For more details, refer to [xdg-utils](https://www.freedesktop.org/wiki/Software/xdg-utils/).


id: 20220407101344-ml7oa9j
parent_id: 20220407101344-deo5hik
root_id: 20210331201142-4g923es
hash: 615205a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
fcontent: Create or find the siyuan.desktop file and open it for editing
type: i
subtype: u
ial: {: id="20220407101344-ml7oa9j"}
created: 20220407101344
content:
 Create or find the siyuan.desktop file and open it for editing MimeType=MimeType=x-scheme-handler/siyuan; Add %u at the end of Exec, that is, Exec=executable file path %u

markdown:
* Create or find the `siyuan.desktop` file and open it for editing

  * `MimeType=MimeType=x-scheme-handler/siyuan;`
  * Add `%u` at the end of `Exec`, that is, `Exec=executable file path %u`


id: 20220407101344-t4jebj9
parent_id: 20220407101344-ml7oa9j
root_id: 20210331201142-4g923es
hash: a307830
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
fcontent: MimeType=MimeType=x-scheme-handler/siyuan;
type: l
subtype: u
ial: {: id="20220407101344-t4jebj9"}
created: 20220407101344
content:
 MimeType=MimeType=x-scheme-handler/siyuan; Add %u at the end of Exec, that is, Exec=executable file path %u

markdown:
* `MimeType=MimeType=x-scheme-handler/siyuan;`
* Add `%u` at the end of `Exec`, that is, `Exec=executable file path %u`


id: 20220407101344-dekuz0i
parent_id: 20220407101344-deo5hik
root_id: 20210331201142-4g923es
hash: 5ff8bb8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
fcontent: Execute the following commands
type: i
subtype: u
ial: {: id="20220407101344-dekuz0i" updated="20220407101410"}
created: 20220407101344
updated: 20220407101410
content:
 Execute the following commandssudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
For more details, refer to xdg-utils https://www.freedesktop.org/wiki/Software/xdg-utils/.

markdown:
* Execute the following commands

  ```java
  sudo update-desktop-database
  xdg-mime default siyuan.desktop x-scheme-handler/siyuan
  xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
  ```

  For more details, refer to [xdg-utils](https://www.freedesktop.org/wiki/Software/xdg-utils/).


id: 20220407101344-9bjuq8i
parent_id: 20220407101344-dekuz0i
root_id: 20210331201142-4g923es
hash: 7326a61
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210331201142-4g923es.sy
hpath: /Please Start Here/General Operations/Hyperlink
type: c
ial: {: id="20220407101344-9bjuq8i"}
created: 20220407101344
content:
sudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop

markdown:
```java
sudo update-desktop-database
xdg-mime default siyuan.desktop x-scheme-handler/siyuan
xdg-settings set default-url-scheme-handler siyuan siyuan.desktop
```


id: 20210824202107-faidvkw
parent_id: 20210824202107-oi62h64
root_id: 20210824202056-udkf7wg
hash: 49902d6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210824202056-udkf7wg.sy
hpath: /Please Start Here/General Operations/Widgets
type: p
ial: {: id="20210824202107-faidvkw" updated="20211230224034"}
created: 20210824202107
updated: 20211230224034
content:
The widget is a static webpage served by SiYuan Kernel. It accesses data through API and renders it through <iframe>​.

markdown:
The widget is a static webpage served by SiYuan Kernel. It accesses data through API and renders it through `<iframe>`​.


id: 20230512195321-tin4qpv
parent_id: 20210824202107-oi62h64
root_id: 20210824202056-udkf7wg
hash: 570f90b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210824202056-udkf7wg.sy
hpath: /Please Start Here/General Operations/Widgets
type: p
ial: {: id="20230512195321-tin4qpv" updated="20230512195357"}
created: 20230512195321
updated: 20230512195357
content:
Compared with plugins, a widget is a kind of content block, which follows the indexing and rendering rules of the block. The widget is mainly oriented to content block extension, not to program function extension.

markdown:
Compared with ((20230506205948-yah52eb "plugins")), a widget is a kind of content block, which follows the indexing and rendering rules of the block. The widget is mainly oriented to content block extension, not to program function extension.


id: 20210824202107-cmsetzk
parent_id: 20210824202107-3zt4469
root_id: 20210824202056-udkf7wg
hash: 9dd79d1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210824202056-udkf7wg.sy
hpath: /Please Start Here/General Operations/Widgets
type: p
ial: {: id="20210824202107-cmsetzk" updated="20230506210716"}
created: 20210824202107
updated: 20230506210716
content:
The widgets are installed through the widget marketplace. After installation, the widgets will be placed in the workspace/widgets/​ folder. In the editor, use the slash menu to trigger the call search. After selecting the widget you need, the widget will be inserted into the document in the form of a widget block.

markdown:
The widgets are installed through the widget marketplace. After installation, the widgets will be placed in the `workspace/widgets/`​ folder. In the editor, use the slash menu to trigger the call search. After selecting the widget you need, the widget will be inserted into the document in the form of a widget block.


id: 20211010212319-b0948bh
parent_id: 20211010212319-jz4ue2g
root_id: 20211010212318-3wx2kqb
hash: 92106b9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20211010212318-3wx2kqb.sy
hpath: /Please Start Here/General Operations/Virtual reference
type: p
ial: {: id="20211010212319-b0948bh" updated="20211010212551"}
created: 20211010212319
updated: 20211010212551
content:
Virtual reference is a kind of "block ref" that is automatically detected based on the anchor text of the existing block ref or the name of the block, but it is not actually linked to the block, but only marked in the editor, and supports floating window preview .

markdown:
Virtual reference is a kind of "block ref" that is automatically detected based on the anchor text of the existing block ref or the name of the block, but it is not actually linked to the block, but only marked in the editor, and supports floating window preview .


id: 20211010212319-iwf94dv
parent_id: 20211010212319-oy401ib
root_id: 20211010212318-3wx2kqb
hash: ae74015
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20211010212318-3wx2kqb.sy
hpath: /Please Start Here/General Operations/Virtual reference
type: p
ial: {: id="20211010212319-iwf94dv" updated="20211010212537"}
created: 20211010212319
updated: 20211010212537
content:
Search based on the anchor text/definition block text of the existing block ref, the name and alias of the block as keywords. If these keywords are searched on the plain text element of the current content block, it will be used as a virtual reference.

markdown:
Search based on the anchor text/definition block text of the existing block ref, the name and alias of the block as keywords. If these keywords are searched on the plain text element of the current content block, it will be used as a virtual reference.


id: 20221003214937-bqvm7yz
parent_id: 20221003214846-p9q1wvx
root_id: 20211010212318-3wx2kqb
hash: aa7b1d2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20211010212318-3wx2kqb.sy
hpath: /Please Start Here/General Operations/Virtual reference
type: l
subtype: u
ial: {: id="20221003214937-bqvm7yz" updated="20221003214948"}
created: 20221003214937
updated: 20221003214948
content:
 For performance reasons, virtual references do not take effect immediately. If they are not displayed, you can try to refresh the current document via F5​

fcontent:
For performance reasons, virtual references do not take effect immediately. If they are not displayed, you can try to refresh the current document via F5​

markdown:
* For performance reasons, virtual references do not take effect immediately. If they are not displayed, you can try to refresh the current document via <kbd>F5</kbd>​


id: 20221003214937-w913xwl
parent_id: 20221003214937-hfdshei
root_id: 20211010212318-3wx2kqb
hash: 86153dd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20211010212318-3wx2kqb.sy
hpath: /Please Start Here/General Operations/Virtual reference
type: p
ial: {: id="20221003214937-w913xwl" updated="20221003214948"}
created: 20221003214937
updated: 20221003214948
content:
For performance reasons, virtual references do not take effect immediately. If they are not displayed, you can try to refresh the current document via F5​

markdown:
For performance reasons, virtual references do not take effect immediately. If they are not displayed, you can try to refresh the current document via <kbd>F5</kbd>​


id: 20221223221639-ii0381j
parent_id: 20221223221639-cllnc0l
root_id: 20221223221636-ms2b4w9
hash: f11e70c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20221223221639-ii0381j" updated="20230820185231"}
created: 20221223221639
updated: 20230820185231
content:
After setting the content block as a flashcard, it will automatically arrange the review through the spaced repetition algorithm FSRS (github repo: open-spaced-repetition/free-spaced-repetition-scheduler).

markdown:
After setting the content block as a flashcard, it will automatically arrange the review through the spaced repetition algorithm FSRS (github repo: open-spaced-repetition/free-spaced-repetition-scheduler).


id: 20230219092249-yzjjb1o
parent_id: 20230219092249-6povnxy
root_id: 20221223221636-ms2b4w9
hash: b3ba083
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
fcontent: mark elements in content blocks will be treated as knockout answers
type: l
subtype: u
ial: {: id="20230219092249-yzjjb1o" updated="20231013104018"}
created: 20230219092249
updated: 20231013104018
content:
 mark elements in content blocks will be treated as knockout answers If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer If a list or list item is set as a flashcard, non-sublists will be treated as questions and sublists will be treated as answers If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers

markdown:
* ==mark== elements in content blocks will be treated as knockout answers
* If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer
* If a list or list item is set as a flashcard, non-sublists will be treated as questions and sublists will be treated as answers
* If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers


id: 20230219092249-xdxmusm
parent_id: 20230219092249-yzjjb1o
root_id: 20221223221636-ms2b4w9
hash: c7e50ad
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: updated="20231013103949" id="20230219092249-xdxmusm"}
created: 20230219092249
updated: 20231013103949
content:
 If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer

fcontent:
If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer

markdown:
* If a super block is set as a flashcard, the first sub-block of the super block will be regarded as a question, and the rest of the sub-blocks will be regarded as an answer


id: 20230219092249-tq1ea3b
parent_id: 20230219092249-yzjjb1o
root_id: 20221223221636-ms2b4w9
hash: e0c1556
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20230219092249-tq1ea3b" updated="20230219092249"}
created: 20230219092249
updated: 20230219092249
content:
 If a list or list item is set as a flashcard, non-sublists will be treated as questions and sublists will be treated as answers

fcontent:
If a list or list item is set as a flashcard, non-sublists will be treated as questions and sublists will be treated as answers

markdown:
* If a list or list item is set as a flashcard, non-sublists will be treated as questions and sublists will be treated as answers


id: 20231013103926-u4hxd38
parent_id: 20230219092249-yzjjb1o
root_id: 20221223221636-ms2b4w9
hash: 054188c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20231013103926-u4hxd38" updated="20231013104018"}
created: 20231013103926
updated: 20231013104018
content:
 If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers

fcontent:
If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers

markdown:
* If a heading block is set as an flashcard, the heading block will be treated as a question and the blocks below it will be treated answers


id: 20230219092249-9l69wsr
parent_id: 20230219092249-3oeqj8o
root_id: 20221223221636-ms2b4w9
hash: ffad87f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: updated="20230324110951" id="20230219092249-9l69wsr"}
created: 20230219092249
updated: 20230324110951
content:
The document-based usage method does not need to pay attention to the card deck, and supports parent-child document review.

markdown:
The document-based usage method does not need to pay attention to the card deck, and supports parent-child document review.


id: 20230219092249-wbyos2h
parent_id: 20230219092249-3oeqj8o
root_id: 20221223221636-ms2b4w9
hash: 59b2428
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
fcontent: Select Quick make card​ in the block icon menu to make a card
type: l
subtype: u
ial: {: id="20230219092249-wbyos2h" updated="20230324110951"}
created: 20230219092249
updated: 20230324110951
content:
 Select Quick make card​ in the block icon menu to make a card Right-click the doc in the document tree panel or click the document block icon Flashcard​ in the editor to enter the review

markdown:
* Select <kbd>Quick make card</kbd>​ in the block icon menu to make a card
* Right-click the doc in the document tree panel or click the document block icon <kbd>Flashcard</kbd>​ in the editor to enter the review


id: 20230219092249-omjyd3g
parent_id: 20230219092249-wbyos2h
root_id: 20221223221636-ms2b4w9
hash: 73a7d0e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20230219092249-omjyd3g" updated="20230219092822"}
created: 20230219092249
updated: 20230219092822
content:
 Right-click the doc in the document tree panel or click the document block icon Flashcard​ in the editor to enter the review

fcontent:
Right-click the doc in the document tree panel or click the document block icon Flashcard​ in the editor to enter the review

markdown:
* Right-click the doc in the document tree panel or click the document block icon <kbd>Flashcard</kbd>​ in the editor to enter the review


id: 20230219092249-2wpj6jk
parent_id: 20230219092249-omjyd3g
root_id: 20221223221636-ms2b4w9
hash: 24ad796
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20230219092249-2wpj6jk" updated="20230219092822"}
created: 20230219092249
updated: 20230219092822
content:
Right-click the doc in the document tree panel or click the document block icon Flashcard​ in the editor to enter the review

markdown:
Right-click the doc in the document tree panel or click the document block icon <kbd>Flashcard</kbd>​ in the editor to enter the review


id: 20230219092249-4f5q0yn
parent_id: 20230219092249-l3b55a9
root_id: 20221223221636-ms2b4w9
hash: c5c09a7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20230219092249-4f5q0yn" updated="20230219092602"}
created: 20230219092249
updated: 20230219092602
content:
Based on the use of card deck, the content blocks in different documents can be carded and put into a unified card pack for review.

markdown:
Based on the use of card deck, the content blocks in different documents can be carded and put into a unified card pack for review.


id: 20230219092249-adkmzaf
parent_id: 20230219092249-l3b55a9
root_id: 20221223221636-ms2b4w9
hash: 8d0fbf5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: l
subtype: u
ial: {: id="20230219092249-adkmzaf" updated="20230219092718"}
created: 20230219092249
updated: 20230219092718
content:
 Select Add to card deck...​​ in the block label menu, and then add the content block to a card deck to complete the card making Access review by clicking Flashcard​​ in the top bar menu

fcontent:
Select Add to card deck...​​ in the block label menu, and then add the content block to a card deck to complete the card making

markdown:
* Select <kbd>Add to card deck...</kbd>​​ in the block label menu, and then add the content block to a card deck to complete the card making
* Access review by clicking <kbd>Flashcard</kbd>​​ in the top bar menu


id: 20230219092249-w4nnmee
parent_id: 20230219092249-adkmzaf
root_id: 20221223221636-ms2b4w9
hash: 17486cd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20230219092249-w4nnmee" updated="20230219092718"}
created: 20230219092249
updated: 20230219092718
content:
 Select Add to card deck...​​ in the block label menu, and then add the content block to a card deck to complete the card making

fcontent:
Select Add to card deck...​​ in the block label menu, and then add the content block to a card deck to complete the card making

markdown:
* Select <kbd>Add to card deck...</kbd>​​ in the block label menu, and then add the content block to a card deck to complete the card making


id: 20230219092249-3h4zeve
parent_id: 20230219092249-w4nnmee
root_id: 20221223221636-ms2b4w9
hash: 5085a03
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20230219092249-3h4zeve" updated="20230219092718"}
created: 20230219092249
updated: 20230219092718
content:
Select Add to card deck...​​ in the block label menu, and then add the content block to a card deck to complete the card making

markdown:
Select <kbd>Add to card deck...</kbd>​​ in the block label menu, and then add the content block to a card deck to complete the card making


id: 20230324111120-9sfynhi
parent_id: 20230219092249-l3b55a9
root_id: 20221223221636-ms2b4w9
hash: a36c193
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20230324111120-9sfynhi" updated="20230324111319"}
created: 20230324111120
updated: 20230324111319
content:
This mode of use is disabled by default. If necessary, it can be enabled in Settings​ - Flashcard​ - Deck​. However, it is not recommended to use flashcards based on card deck, because the card deck are fixed and not as flexible as using flashcards based on documents.

markdown:
This mode of use is disabled by default. If necessary, it can be enabled in <kbd>Settings</kbd>​ - <kbd>Flashcard</kbd>​ - <kbd>Deck</kbd>​. However, it is not recommended to use flashcards based on card deck, because the card deck are fixed and not as flexible as using flashcards based on documents.


id: 20240128112016-je04b7i
parent_id: 20240128112003-595bhoa
root_id: 20221223221636-ms2b4w9
hash: 0d87846
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: updated="20240128112236" id="20240128112016-je04b7i"}
created: 20240128112016
updated: 20240128112236
content:
You can adjust the global configuration related to flashcards in Settings​ - Flashcard​, including New Card Limit​ and Review Card Limit​ can be overridden using document block custom attributes:

markdown:
You can adjust the global configuration related to flashcards in <kbd>Settings</kbd>​ - <kbd>Flashcard</kbd>​, including <kbd>New Card Limit</kbd>​ and <kbd>Review Card Limit</kbd>​ can be overridden using document block custom attributes:


id: 20240128112208-ulxm0sf
parent_id: 20240128112003-595bhoa
root_id: 20221223221636-ms2b4w9
hash: 9ab1757
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: updated="20240128112214" id="20240128112208-ulxm0sf"}
created: 20240128112208
updated: 20240128112214
content:
They are configured separately on different documents and do not affect each other. For example, if the parent document is configured as 5 and the sub-document is 10, then it will be 5 when reviewing from the parent document, and the configuration of the sub-document will not be superimposed.

markdown:
They are configured separately on different documents and do not affect each other. For example, if the parent document is configured as 5 and the sub-document is 10, then it will be 5 when reviewing from the parent document, and the configuration of the sub-document will not be superimposed.


id: 20221223221639-ycrps4p
parent_id: 20221223221639-djlafd4
root_id: 20221223221636-ms2b4w9
hash: 3d5ff04
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: l
subtype: u
ial: {: id="20221223221639-ycrps4p" updated="20240128112834"}
created: 20221223221639
updated: 20240128112834
content:
 After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid It is not recommended to enable card decks. This method has been deprecated. If you continue to use it, you may encounter unsolvable problems

fcontent:
After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid

markdown:
* After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid
* It is not recommended to enable card decks. This method has been deprecated. If you continue to use it, you may encounter unsolvable problems


id: 20221223221639-k6sg60p
parent_id: 20221223221639-ycrps4p
root_id: 20221223221636-ms2b4w9
hash: 4fb261a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: updated="20221223221824" id="20221223221639-k6sg60p"}
created: 20221223221639
updated: 20221223221824
content:
 After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid

fcontent:
After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid

markdown:
* After the content block is deleted (or the ID is changed), the corresponding flashcard will become invalid


id: 20240128112355-nzfivrh
parent_id: 20221223221639-ycrps4p
root_id: 20221223221636-ms2b4w9
hash: c9e8786
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20240128112355-nzfivrh" updated="20240128112834"}
created: 20240128112355
updated: 20240128112834
content:
 It is not recommended to enable card decks. This method has been deprecated. If you continue to use it, you may encounter unsolvable problems

fcontent:
It is not recommended to enable card decks. This method has been deprecated. If you continue to use it, you may encounter unsolvable problems

markdown:
* It is not recommended to enable card decks. This method has been deprecated. If you continue to use it, you may encounter unsolvable problems


id: 20221223221639-6l0aw8c
parent_id: 20221223221639-llefimn
root_id: 20221223221636-ms2b4w9
hash: 6d0f12e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: l
subtype: u
ial: {: updated="20221223221949" id="20221223221639-6l0aw8c"}
created: 20221223221639
updated: 20221223221949
content:
 The card deck data is stored in the workspace/data/storage/riff/​ folder through the MessagePack serialization protocol Load all card deck data to the memory at startup, and reload once after the data is downloaded synchronously

fcontent:
The card deck data is stored in the workspace/data/storage/riff/​ folder through the MessagePack serialization protocol

markdown:
* The card deck data is stored in the `workspace/data/storage/riff/`​ folder through the MessagePack serialization protocol
* Load all card deck data to the memory at startup, and reload once after the data is downloaded synchronously


id: 20221223221639-4e7uw7m
parent_id: 20221223221639-6l0aw8c
root_id: 20221223221636-ms2b4w9
hash: 3e5d7f5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20221223221639-4e7uw7m" updated="20221223221940"}
created: 20221223221639
updated: 20221223221940
content:
 The card deck data is stored in the workspace/data/storage/riff/​ folder through the MessagePack serialization protocol

fcontent:
The card deck data is stored in the workspace/data/storage/riff/​ folder through the MessagePack serialization protocol

markdown:
* The card deck data is stored in the `workspace/data/storage/riff/`​ folder through the MessagePack serialization protocol


id: 20221223221639-y3f8vtv
parent_id: 20221223221639-4e7uw7m
root_id: 20221223221636-ms2b4w9
hash: 4f2ab93
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: p
ial: {: id="20221223221639-y3f8vtv" updated="20221223221940"}
created: 20221223221639
updated: 20221223221940
content:
The card deck data is stored in the workspace/data/storage/riff/​ folder through the MessagePack serialization protocol

markdown:
The card deck data is stored in the `workspace/data/storage/riff/`​ folder through the MessagePack serialization protocol


id: 20221223221639-tplv5uh
parent_id: 20221223221639-6l0aw8c
root_id: 20221223221636-ms2b4w9
hash: 4e6cee5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20221223221636-ms2b4w9.sy
hpath: /Please Start Here/General Operations/Flashcards
type: i
subtype: u
ial: {: id="20221223221639-tplv5uh" updated="20221223221949"}
created: 20221223221639
updated: 20221223221949
content:
 Load all card deck data to the memory at startup, and reload once after the data is downloaded synchronously

fcontent:
Load all card deck data to the memory at startup, and reload once after the data is downloaded synchronously

markdown:
* Load all card deck data to the memory at startup, and reload once after the data is downloaded synchronously


id: 20230104152142-5whzbmo
parent_id: 20230104152142-ffu9ddj
root_id: 20230104152135-1iei0xa
hash: 4f0b79a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
fcontent: You need to register and log in to your Liandi account
type: l
subtype: u
ial: {: id="20230104152142-5whzbmo" updated="20230104152204"}
created: 20230104152142
updated: 20230104152204
content:
 You need to register and log in to your Liandi account Click the editor ...​ menu Share to Liandi​ Document title as post title Document tags as post tags Documentation exported Markdown as post content with references converted to footnotes After sharing, write the attribute custom-liandi-articleId​ to the document to associate the link post ID

markdown:
* You need to register and log in to your Liandi account
* Click the editor `...`​ menu <kbd>Share to Liandi</kbd>​

  * Document title as post title
  * Document tags as post tags
  * Documentation exported Markdown as post content with references converted to footnotes
* After sharing, write the attribute `custom-liandi-articleId`​ to the document to associate the link post ID


id: 20230104152142-r0zanmc
parent_id: 20230104152142-5whzbmo
root_id: 20230104152135-1iei0xa
hash: 12a8cb6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
fcontent: Click the editor ...​ menu Share to Liandi​
type: i
subtype: u
ial: {: id="20230104152142-r0zanmc" updated="20230104152204"}
created: 20230104152142
updated: 20230104152204
content:
 Click the editor ...​ menu Share to Liandi​ Document title as post title Document tags as post tags Documentation exported Markdown as post content with references converted to footnotes

markdown:
* Click the editor `...`​ menu <kbd>Share to Liandi</kbd>​

  * Document title as post title
  * Document tags as post tags
  * Documentation exported Markdown as post content with references converted to footnotes


id: 20230104152142-zehcrat
parent_id: 20230104152142-r0zanmc
root_id: 20230104152135-1iei0xa
hash: e64faf2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
fcontent: Document title as post title
type: l
subtype: u
ial: {: updated="20230104152204" id="20230104152142-zehcrat"}
created: 20230104152142
updated: 20230104152204
content:
 Document title as post title Document tags as post tags Documentation exported Markdown as post content with references converted to footnotes

markdown:
* Document title as post title
* Document tags as post tags
* Documentation exported Markdown as post content with references converted to footnotes


id: 20230104152142-1bqvmk9
parent_id: 20230104152142-5whzbmo
root_id: 20230104152135-1iei0xa
hash: 56b1740
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
type: i
subtype: u
ial: {: id="20230104152142-1bqvmk9" updated="20230104152142"}
created: 20230104152142
updated: 20230104152142
content:
 After sharing, write the attribute custom-liandi-articleId​ to the document to associate the link post ID

fcontent:
After sharing, write the attribute custom-liandi-articleId​ to the document to associate the link post ID

markdown:
* After sharing, write the attribute `custom-liandi-articleId`​ to the document to associate the link post ID


id: 20230104152142-10g0vrg
parent_id: 20230104152142-1bqvmk9
root_id: 20230104152135-1iei0xa
hash: b5b8406
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
type: p
ial: {: id="20230104152142-10g0vrg" updated="20230104152142"}
created: 20230104152142
updated: 20230104152142
content:
After sharing, write the attribute custom-liandi-articleId​ to the document to associate the link post ID

markdown:
After sharing, write the attribute `custom-liandi-articleId`​ to the document to associate the link post ID


id: 20230104152142-l7x5k2g
parent_id: 20230104152142-9t7oojd
root_id: 20230104152135-1iei0xa
hash: f1058a8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
type: l
subtype: u
ial: {: id="20230104152142-l7x5k2g" updated="20230621111843"}
created: 20230104152142
updated: 20230621111843
content:
 Points are required to share documents to LiuYun, please refer to point rules https://liuyun.io/article/1685240430351 Shared assets uploaded to the cloud cannot be deleted

fcontent:
Points are required to share documents to LiuYun, please refer to point rules https://liuyun.io/article/1685240430351

markdown:
* Points are required to share documents to LiuYun, please refer to [point rules](https://liuyun.io/article/1685240430351)
* Shared assets uploaded to the cloud cannot be deleted


id: 20230104152142-z9vvov0
parent_id: 20230104152142-l7x5k2g
root_id: 20230104152135-1iei0xa
hash: d00acf4
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
type: i
subtype: u
ial: {: id="20230104152142-z9vvov0" updated="20230621111843"}
created: 20230104152142
updated: 20230621111843
content:
 Points are required to share documents to LiuYun, please refer to point rules https://liuyun.io/article/1685240430351

fcontent:
Points are required to share documents to LiuYun, please refer to point rules https://liuyun.io/article/1685240430351

markdown:
* Points are required to share documents to LiuYun, please refer to [point rules](https://liuyun.io/article/1685240430351)


id: 20230104152142-2uwf36x
parent_id: 20230104152142-z9vvov0
root_id: 20230104152135-1iei0xa
hash: afbaf89
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20230104152135-1iei0xa.sy
hpath: /Please Start Here/General Operations/Share document
type: p
ial: {: id="20230104152142-2uwf36x" updated="20230621111843"}
created: 20230104152142
updated: 20230621111843
content:
Points are required to share documents to LiuYun, please refer to point rules https://liuyun.io/article/1685240430351

markdown:
Points are required to share documents to LiuYun, please refer to [point rules](https://liuyun.io/article/1685240430351)


id: 20220615120310-jq1miv3
parent_id: 20220501135308-u5qn6iz
root_id: 20210615213222-vs5tzbd
hash: 5bd9287
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220615120310-jq1miv3" updated="20220615120310"}
created: 20220615120310
updated: 20220615120310
content:
Data history is mainly used to ensure data security, and even if a misoperation occurs, data can be rolled back through history. The data history is divided into two functions:

markdown:
Data history is mainly used to ensure data security, and even if a misoperation occurs, data can be rolled back through history. The data history is divided into two functions:


id: 20220615120310-64352xf
parent_id: 20220501135308-u5qn6iz
root_id: 20210615213222-vs5tzbd
hash: 73eb7e8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: l
subtype: u
ial: {: id="20220615120310-64352xf" updated="20220615120310"}
created: 20220615120310
updated: 20220615120310
content:
 File history: saved in the workspace/history/ folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery Data snapshot: partitioned by file, encrypted and compressed and saved in the workspace/repo/ folder, unreadable by humans and cannot be manually restored

fcontent:
File history: saved in the workspace/history/ folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery

markdown:
* File history: saved in the `workspace/history/` folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery
* Data snapshot: partitioned by file, encrypted and compressed and saved in the `workspace/repo/` folder, unreadable by humans and cannot be manually restored


id: 20220615120310-zyipokx
parent_id: 20220615120310-64352xf
root_id: 20210615213222-vs5tzbd
hash: 14b6183
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220615120310-zyipokx" updated="20220615120310"}
created: 20220615120310
updated: 20220615120310
content:
 File history: saved in the workspace/history/ folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery

fcontent:
File history: saved in the workspace/history/ folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery

markdown:
* File history: saved in the `workspace/history/` folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery


id: 20220615120310-hxba93x
parent_id: 20220615120310-zyipokx
root_id: 20210615213222-vs5tzbd
hash: 0969990
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220615120310-hxba93x" updated="20220615120310"}
created: 20220615120310
updated: 20220615120310
content:
File history: saved in the workspace/history/ folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery

markdown:
File history: saved in the `workspace/history/` folder as the original file, human-readable, and can be manually copied to the corresponding location of data for recovery


id: 20220615120310-ku0y1n6
parent_id: 20220615120310-64352xf
root_id: 20210615213222-vs5tzbd
hash: 3fe911b
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220615120310-ku0y1n6" updated="20220615120310"}
created: 20220615120310
updated: 20220615120310
content:
 Data snapshot: partitioned by file, encrypted and compressed and saved in the workspace/repo/ folder, unreadable by humans and cannot be manually restored

fcontent:
Data snapshot: partitioned by file, encrypted and compressed and saved in the workspace/repo/ folder, unreadable by humans and cannot be manually restored

markdown:
* Data snapshot: partitioned by file, encrypted and compressed and saved in the `workspace/repo/` folder, unreadable by humans and cannot be manually restored


id: 20220615120310-qkv8ygq
parent_id: 20220615120310-ku0y1n6
root_id: 20210615213222-vs5tzbd
hash: bacc24e
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: updated="20220615120310" id="20220615120310-qkv8ygq"}
created: 20220615120310
updated: 20220615120310
content:
Data snapshot: partitioned by file, encrypted and compressed and saved in the workspace/repo/ folder, unreadable by humans and cannot be manually restored

markdown:
Data snapshot: partitioned by file, encrypted and compressed and saved in the `workspace/repo/` folder, unreadable by humans and cannot be manually restored


id: 20220615120310-qal3upv
parent_id: 20220501135308-u5qn6iz
root_id: 20210615213222-vs5tzbd
hash: 0d94425
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
content: In addition to local data history, data snapshots are also used for cloud data synchronization.
type: p
ial: {: id="20220615120310-qal3upv" updated="20220830225641"}
created: 20220615120310
updated: 20220830225641
markdown:
In addition to local data history, data snapshots are also used for cloud ((20210721112206-mhr9wxi "data synchronization")).


id: 20220501135308-30uwxvd
parent_id: 20220615120326-dopr4db
root_id: 20210615213222-vs5tzbd
hash: 234cbf9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: l
subtype: u
ial: {: id="20220501135308-30uwxvd" updated="20230403114455"}
created: 20220501135308
updated: 20230403114455
content:
 Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by Settings​ - Editor​ - History Generation Interval​ make adjustments), and the suffix of the history folder is -update​ When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is -sync​ History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is -delete​ When using Cleanup unreferenced assets, a history will be generated, and the suffix of the history folder is -clean​ When using the Optimize typography, a history will be generated, and the suffix of the history folder is -format​ When using Search replace​, a history will be generated, and the suffix of the history folder -replace​

fcontent:
Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by Settings​ - Editor​ - History Generation Interval​ make adjustments), and the suffix of the history folder is -update​

markdown:
* Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by <kbd>Settings</kbd>​ - <kbd>Editor</kbd>​ - <kbd>History Generation Interval</kbd>​ make adjustments), and the suffix of the history folder is `-update`​
* When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is `-sync`​
* History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is `-delete`​
* When using ((20210115224203-q8bj2gd "Cleanup unreferenced assets")), a history will be generated, and the suffix of the history folder is `-clean`​
* When using the ((20220628204454-hhxohv5 "Optimize typography")), a history will be generated, and the suffix of the history folder is `-format`​
* When using <kbd>Search replace</kbd>​, a history will be generated, and the suffix of the history folder `-replace`​


id: 20220501135308-kwaramc
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: af9549c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501135308-kwaramc" updated="20220831210614"}
created: 20220501135308
updated: 20220831210614
content:
 Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by Settings​ - Editor​ - History Generation Interval​ make adjustments), and the suffix of the history folder is -update​

fcontent:
Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by Settings​ - Editor​ - History Generation Interval​ make adjustments), and the suffix of the history folder is -update​

markdown:
* Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by <kbd>Settings</kbd>​ - <kbd>Editor</kbd>​ - <kbd>History Generation Interval</kbd>​ make adjustments), and the suffix of the history folder is `-update`​


id: 20220501135308-yr7v67z
parent_id: 20220501135308-kwaramc
root_id: 20210615213222-vs5tzbd
hash: 8320884
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-yr7v67z" updated="20220831210614"}
created: 20220501135308
updated: 20220831210614
content:
Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by Settings​ - Editor​ - History Generation Interval​ make adjustments), and the suffix of the history folder is -update​

markdown:
Every 10 minutes, a history will be generated for the documents updated within these 10 minutes (the interval can be set by <kbd>Settings</kbd>​ - <kbd>Editor</kbd>​ - <kbd>History Generation Interval</kbd>​ make adjustments), and the suffix of the history folder is `-update`​


id: 20220501135308-1xc2m8l
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: aef469c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: updated="20220501135308" id="20220501135308-1xc2m8l"}
created: 20220501135308
updated: 20220501135308
content:
 When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is -sync​

fcontent:
When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is -sync​

markdown:
* When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is `-sync`​


id: 20220501135308-dmnsr7d
parent_id: 20220501135308-1xc2m8l
root_id: 20210615213222-vs5tzbd
hash: f37c990
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-dmnsr7d" updated="20220501135308"}
created: 20220501135308
updated: 20220501135308
content:
When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is -sync​

markdown:
When synchronizing in the cloud, the local data covered by the cloud will generate a history, and the suffix of the history folder is `-sync`​


id: 20220501135308-z09e5tv
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: 333a2c8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501135308-z09e5tv" updated="20220503122549"}
created: 20220501135308
updated: 20220503122549
content:
 History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is -delete​

fcontent:
History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is -delete​

markdown:
* History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is `-delete`​


id: 20220501135308-pqw5kwp
parent_id: 20220501135308-z09e5tv
root_id: 20210615213222-vs5tzbd
hash: 23790c6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-pqw5kwp" updated="20220503122549"}
created: 20220501135308
updated: 20220503122549
content:
History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is -delete​

markdown:
History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is `-delete`​


id: 20220501135308-0iyl6a6
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: 821b5d1
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501135308-0iyl6a6" updated="20220830230820"}
created: 20220501135308
updated: 20220830230820
content:
 When using Cleanup unreferenced assets, a history will be generated, and the suffix of the history folder is -clean​

fcontent:
When using Cleanup unreferenced assets, a history will be generated, and the suffix of the history folder is -clean​

markdown:
* When using ((20210115224203-q8bj2gd "Cleanup unreferenced assets")), a history will be generated, and the suffix of the history folder is `-clean`​


id: 20220501135308-9htfn1h
parent_id: 20220501135308-0iyl6a6
root_id: 20210615213222-vs5tzbd
hash: bf98e7c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-9htfn1h" updated="20220830230820"}
created: 20220501135308
updated: 20220830230820
content:
When using Cleanup unreferenced assets, a history will be generated, and the suffix of the history folder is -clean​

markdown:
When using ((20210115224203-q8bj2gd "Cleanup unreferenced assets")), a history will be generated, and the suffix of the history folder is `-clean`​


id: 20220501135308-wzazz01
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: feaa991
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501135308-wzazz01" updated="20230403114455"}
created: 20220501135308
updated: 20230403114455
content:
 When using the Optimize typography, a history will be generated, and the suffix of the history folder is -format​

fcontent:
When using the Optimize typography, a history will be generated, and the suffix of the history folder is -format​

markdown:
* When using the ((20220628204454-hhxohv5 "Optimize typography")), a history will be generated, and the suffix of the history folder is `-format`​


id: 20220501135308-xldpw4q
parent_id: 20220501135308-wzazz01
root_id: 20210615213222-vs5tzbd
hash: aa9e40f
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-xldpw4q" updated="20230403114455"}
created: 20220501135308
updated: 20230403114455
content:
When using the Optimize typography, a history will be generated, and the suffix of the history folder is -format​

markdown:
When using the ((20220628204454-hhxohv5 "Optimize typography")), a history will be generated, and the suffix of the history folder is `-format`​


id: 20230403114321-4rwhj6j
parent_id: 20220501135308-30uwxvd
root_id: 20210615213222-vs5tzbd
hash: fef72cb
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20230403114321-4rwhj6j" updated="20230403114424"}
created: 20230403114321
updated: 20230403114424
content:
 When using Search replace​, a history will be generated, and the suffix of the history folder -replace​

fcontent:
When using Search replace​, a history will be generated, and the suffix of the history folder -replace​

markdown:
* When using <kbd>Search replace</kbd>​, a history will be generated, and the suffix of the history folder `-replace`​


id: 20230403114321-tou7etc
parent_id: 20230403114321-4rwhj6j
root_id: 20210615213222-vs5tzbd
hash: 4f8df1c
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20230403114321-tou7etc" updated="20230403114424"}
created: 20230403114321
updated: 20230403114424
content:
When using Search replace​, a history will be generated, and the suffix of the history folder -replace​

markdown:
When using <kbd>Search replace</kbd>​, a history will be generated, and the suffix of the history folder `-replace`​


id: 20220501135308-3azjqzh
parent_id: 20220501135308-2rn9rgb
root_id: 20210615213222-vs5tzbd
hash: 318ca9a
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: l
subtype: u
ial: {: id="20220501135308-3azjqzh" updated="20220830230739"}
created: 20220501135308
updated: 20220830230739
content:
 Click the Data History button on the top toolbar or Alt+H to open the data history interface, switch to the File History tab, if no historical data is displayed , you can try Reindex of this interface Browse under the filesystem workspace/history/ folder

fcontent:
Click the Data History button on the top toolbar or Alt+H to open the data history interface, switch to the File History tab, if no historical data is displayed , you can try Reindex of this interface

markdown:
* Click the <kbd>Data History</kbd> button on the top toolbar or <kbd>Alt+H</kbd> to open the data history interface, switch to the <kbd>File History</kbd> tab, if no historical data is displayed , you can try <kbd>Reindex</kbd> of this interface
* Browse under the filesystem `workspace/history/` folder


id: 20220501135308-itmzgsj
parent_id: 20220501135308-3azjqzh
root_id: 20210615213222-vs5tzbd
hash: 1b1adb6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501135308-itmzgsj" updated="20220830230739"}
created: 20220501135308
updated: 20220830230739
content:
 Click the Data History button on the top toolbar or Alt+H to open the data history interface, switch to the File History tab, if no historical data is displayed , you can try Reindex of this interface

fcontent:
Click the Data History button on the top toolbar or Alt+H to open the data history interface, switch to the File History tab, if no historical data is displayed , you can try Reindex of this interface

markdown:
* Click the <kbd>Data History</kbd> button on the top toolbar or <kbd>Alt+H</kbd> to open the data history interface, switch to the <kbd>File History</kbd> tab, if no historical data is displayed , you can try <kbd>Reindex</kbd> of this interface


id: 20220501135308-yvsiton
parent_id: 20220501135308-itmzgsj
root_id: 20210615213222-vs5tzbd
hash: 49df8ae
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501135308-yvsiton" updated="20220830230739"}
created: 20220501135308
updated: 20220830230739
content:
Click the Data History button on the top toolbar or Alt+H to open the data history interface, switch to the File History tab, if no historical data is displayed , you can try Reindex of this interface

markdown:
Click the <kbd>Data History</kbd> button on the top toolbar or <kbd>Alt+H</kbd> to open the data history interface, switch to the <kbd>File History</kbd> tab, if no historical data is displayed , you can try <kbd>Reindex</kbd> of this interface


id: 20220501133808-qv8l0rm
parent_id: 20210104091559-kgrtuyh
root_id: 20210615213222-vs5tzbd
hash: ef73f53
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501133808-qv8l0rm" updated="20220615120526"}
created: 20220501133808
updated: 20220615120526
content:
In the time list column on the left side of the data history interface, there is a rollback button on the right side of each history record. After clicking, a confirmation dialog box will pop up. If the rollback is confirmed, the existing file will be overwritten with the file history.

markdown:
In the time list column on the left side of the data history interface, there is a rollback button on the right side of each history record. After clicking, a confirmation dialog box will pop up. If the rollback is confirmed, the existing file will be overwritten with the file history.


id: 20220501133808-uopvhd4
parent_id: 20210104091559-kgrtuyh
root_id: 20210615213222-vs5tzbd
hash: e4434c8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501133808-uopvhd4" updated="20220501133808"}
created: 20220501133808
updated: 20220501133808
content:
If there are very many files that need to be rolled back, it is recommended to manually copy on the file system. The internal structure of the history folder is the same as the internal structure of data, for example:

markdown:
If there are very many files that need to be rolled back, it is recommended to manually copy on the file system. The internal structure of the history folder is the same as the internal structure of data, for example:


id: 20220501133808-aipi33o
parent_id: 20210104091559-kgrtuyh
root_id: 20210615213222-vs5tzbd
hash: a2b30cc
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: l
subtype: u
ial: {: id="20220501133808-aipi33o" updated="20220831210527"}
created: 20220501133808
updated: 20220831210527
content:
 Notebook delete: 2022-05-01-091021-delete/20210808180117-czj9bvb/, i.e. historical generation date-{operation}/{notebook ID}/ Document deletion: 2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy, which is historical generation date-{operation}/{notebook ID}/{document path} Asset file cleanup: 2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png, which is historical generation date-{operation}/assets/{asset file name}

fcontent:
Notebook delete: 2022-05-01-091021-delete/20210808180117-czj9bvb/, i.e. historical generation date-{operation}/{notebook ID}/

markdown:
* Notebook delete: `2022-05-01-091021-delete/20210808180117-czj9bvb/`, i.e. `historical generation date-{operation}/{notebook ID}/`
* Document deletion: `2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy`, which is `historical generation date-{operation}/{notebook ID}/{document path}`
* Asset file cleanup: `2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png`, which is `historical generation date-{operation}/assets/{asset file name}`


id: 20220501133808-wxongrk
parent_id: 20220501133808-aipi33o
root_id: 20210615213222-vs5tzbd
hash: f3acea7
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501133808-wxongrk" updated="20220501133808"}
created: 20220501133808
updated: 20220501133808
content:
 Notebook delete: 2022-05-01-091021-delete/20210808180117-czj9bvb/, i.e. historical generation date-{operation}/{notebook ID}/

fcontent:
Notebook delete: 2022-05-01-091021-delete/20210808180117-czj9bvb/, i.e. historical generation date-{operation}/{notebook ID}/

markdown:
* Notebook delete: `2022-05-01-091021-delete/20210808180117-czj9bvb/`, i.e. `historical generation date-{operation}/{notebook ID}/`


id: 20220501133808-tbbutzj
parent_id: 20220501133808-wxongrk
root_id: 20210615213222-vs5tzbd
hash: a7e2da5
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501133808-tbbutzj" updated="20220501133808"}
created: 20220501133808
updated: 20220501133808
content:
Notebook delete: 2022-05-01-091021-delete/20210808180117-czj9bvb/, i.e. historical generation date-{operation}/{notebook ID}/

markdown:
Notebook delete: `2022-05-01-091021-delete/20210808180117-czj9bvb/`, i.e. `historical generation date-{operation}/{notebook ID}/`


id: 20220501133808-44fj5ct
parent_id: 20220501133808-aipi33o
root_id: 20210615213222-vs5tzbd
hash: 55292e0
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: updated="20220501134016" id="20220501133808-44fj5ct"}
created: 20220501133808
updated: 20220501134016
content:
 Document deletion: 2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy, which is historical generation date-{operation}/{notebook ID}/{document path}

fcontent:
Document deletion: 2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy, which is historical generation date-{operation}/{notebook ID}/{document path}

markdown:
* Document deletion: `2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy`, which is `historical generation date-{operation}/{notebook ID}/{document path}`


id: 20220501133808-y3c9auz
parent_id: 20220501133808-44fj5ct
root_id: 20210615213222-vs5tzbd
hash: 143647d
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501133808-y3c9auz" updated="20220501134016"}
created: 20220501133808
updated: 20220501134016
content:
Document deletion: 2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy, which is historical generation date-{operation}/{notebook ID}/{document path}

markdown:
Document deletion: `2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy`, which is `historical generation date-{operation}/{notebook ID}/{document path}`


id: 20220501133808-9qkl603
parent_id: 20220501133808-aipi33o
root_id: 20210615213222-vs5tzbd
hash: 0db31c8
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: u
ial: {: id="20220501133808-9qkl603" updated="20220831210527"}
created: 20220501133808
updated: 20220831210527
content:
 Asset file cleanup: 2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png, which is historical generation date-{operation}/assets/{asset file name}

fcontent:
Asset file cleanup: 2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png, which is historical generation date-{operation}/assets/{asset file name}

markdown:
* Asset file cleanup: `2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png`, which is `historical generation date-{operation}/assets/{asset file name}`


id: 20220501133808-caf9m4c
parent_id: 20220501133808-9qkl603
root_id: 20210615213222-vs5tzbd
hash: 1a421b9
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220501133808-caf9m4c" updated="20220831210527"}
created: 20220501133808
updated: 20220831210527
content:
Asset file cleanup: 2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png, which is historical generation date-{operation}/assets/{asset file name}

markdown:
Asset file cleanup: `2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png`, which is `historical generation date-{operation}/assets/{asset file name}`


id: 20220501133808-vpkkff8
parent_id: 20210104091559-kgrtuyh
root_id: 20210615213222-vs5tzbd
hash: a546b25
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: l
subtype: o
ial: {: id="20220501133808-vpkkff8" updated="20220615111249"}
created: 20220501133808
updated: 20220615111249
content:
 Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations Go to the workspace/history/ folder and copy the data in the historical generation date-{operation} folder directly to the data folder for overwriting Reindex manually after starting SiYuan

fcontent:
Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations

markdown:
1. Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations
2. Go to the `workspace/history/` folder and copy the data in the `historical generation date-{operation}` folder directly to the data folder for overwriting
3. Reindex manually after starting SiYuan


id: 20220501133808-u2jd9bs
parent_id: 20220501133808-vpkkff8
root_id: 20210615213222-vs5tzbd
hash: 3eb3cf6
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: o
ial: {: id="20220501133808-u2jd9bs" updated="20220501134035"}
created: 20220501133808
updated: 20220501134035
content:
 Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations

fcontent:
Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations

markdown:
1. Exit SiYuan, and then make a full copy and backup of the entire workspace to avoid data loss caused by subsequent misoperations


id: 20220501133808-5op6pre
parent_id: 20220501133808-vpkkff8
root_id: 20210615213222-vs5tzbd
hash: 1aeca91
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: i
subtype: o
ial: {: id="20220501133808-5op6pre" updated="20220501134101"}
created: 20220501133808
updated: 20220501134101
content:
 Go to the workspace/history/ folder and copy the data in the historical generation date-{operation} folder directly to the data folder for overwriting

fcontent:
Go to the workspace/history/ folder and copy the data in the historical generation date-{operation} folder directly to the data folder for overwriting

markdown:
2. Go to the `workspace/history/` folder and copy the data in the `historical generation date-{operation}` folder directly to the data folder for overwriting


id: 20220501133808-wgm1itd
parent_id: 20220501133808-5op6pre
root_id: 20210615213222-vs5tzbd
hash: 7a5c2bd
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: updated="20220501134101" id="20220501133808-wgm1itd"}
created: 20220501133808
updated: 20220501134101
content:
Go to the workspace/history/ folder and copy the data in the historical generation date-{operation} folder directly to the data folder for overwriting

markdown:
Go to the `workspace/history/` folder and copy the data in the `historical generation date-{operation}` folder directly to the data folder for overwriting


id: 20220615120602-mjy7por
parent_id: 20220615120602-rhii2c7
root_id: 20210615213222-vs5tzbd
hash: 8496ef3
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220615120602-mjy7por" updated="20220615120602"}
created: 20220615120602
updated: 20220615120602
content:
By default, the history of files generated in the last 30 days is automatically saved, which can be adjusted through Settings - Editor - History Retention Days. History will be automatically deleted.

markdown:
By default, the history of files generated in the last 30 days is automatically saved, which can be adjusted through <kbd>Settings</kbd> - <kbd>Editor</kbd> - <kbd>History Retention Days</kbd>. History will be automatically deleted.


id: 20220615120602-3fqyf3h
parent_id: 20220615120602-rhii2c7
root_id: 20210615213222-vs5tzbd
hash: 8e821a2
box: 20210808180117-6v0mkxr
path: /20200923234011-ieuun1p/20210808180303-xaduj2o/20210615213222-vs5tzbd.sy
hpath: /Please Start Here/General Operations/Data history
type: p
ial: {: id="20220615120602-3fqyf3h" updated="20220830230506"}
created: 20220615120602
updated: 20220830230506
content:
If you want to clear all file history data, you can click Settings - Editor - Clear all history, or manually delete the workspace/history/ folder, then Reindex in File History.

markdown:
If you want to clear all file history data, you can click <kbd>Settings</kbd> - <kbd>Editor</kbd> - <kbd>Clear all history</kbd>, or manually delete the `workspace/history/` folder, then <kbd>Reindex</kbd> in <kbd>File History</kbd>.


