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 b7c8c87 commit c97d8c5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
29 changes: 25 additions & 4 deletions 使用内容块/🎨 内容块类型_20200905090211-2vixtlf.sy.md
Expand Up @@ -112,7 +112,30 @@ function hello() {}

### 超级块

超级块是一种((20200925095848-aon4lem "容器块"))。
超级块是一种((20200925095848-aon4lem "容器块"))。可用于组合文档内连续的内容块,使用独占一行的 `{{{` 作为开始标记符,`}}}` 作为结束标记符。

```markdown
{{{

段落块

* 列表块

> 块引用块

# 标题块

{{{

嵌套超级块
……

}}}

……

}}}
```

### 文档

Expand All @@ -123,9 +146,7 @@ function hello() {}
## 内容块元类型
{: id="20200925095848-aon4lem"}

内容块在逻辑上分为叶子块和容器块,叶子块不能包含其他块,容器块可以包含其他块,遵循 CommonMark/GFM 规范。

容器块有以下几种:
内容块在逻辑上分为叶子块和容器块,叶子块不能包含其他块,容器块可以包含其他块:

* 列表块:只能包含列表项块
* 列表项块:可以包含任意非文档块
Expand Down
2 changes: 1 addition & 1 deletion 通用操作/搜索_20200813091734-6depm11.sy.md
Expand Up @@ -17,7 +17,7 @@
* `` ` `` 代码块
* `>` 块引用块
* `$` 数学公式块
* `s` 超级块
* `{` 超级块
* `p` 段落块

比如想要搜索所有包含 `Markdown` 的标题块,则可以使用 `#Markdown` 作为搜索条件。
Expand Down

0 comments on commit c97d8c5

Please sign in to comment.