Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
✨ 超级块 {{{ blocks }}} Fix siyuan-note/siyuan#73
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 24, 2020
1 parent 50cf958 commit bcdd8d9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion General Operations/Search_20200924100839-5oe1j4n.sy.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If the search keyword starts with the following characters, type filtering is en
* `` ` `` Code block
* `>` Blockquote block
* `$` Mathematical formula block
* `s` Super block
* `{` Super block
* `p` Paragraph block

For example, if you want to search for all heading blocks containing `Markdown`, you can use `#Markdown` as the search criteria.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,30 @@ The block reference block is a type ((20200925102736-x94e40g "container block"))

### Super block

The super block is a type ((20200925102736-x94e40g "container block")).
The super block is a type ((20200925102736-x94e40g "container block")). It can be used to combine continuous content blocks in a document, using a single line of `{{{` as the start marker and `}}}` as the end marker.

```markdown
{{{

Paragraph block

* List block

> Blockquote block

# Heading block

{{{

Nested super block
...

}}}

...

}}}
```

### Documentation block

Expand All @@ -123,9 +146,7 @@ The entire document is a block, and the document block is a type ((2020092510273
## Content Block meta type
{: id="20200925102736-x94e40g"}

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, following the CommonMark/GFM specification.

There are several types of container blocks:
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:

* List block: can only contain list item blocks
* List item block: can contain any other non-document blocks
Expand Down

0 comments on commit bcdd8d9

Please sign in to comment.