Skip to content

用 use 调用 target 时无法和 import 中一样复写 block 的内容 #56

@Justineo

Description

@Justineo

在官网的在线编译跑的:

<!-- target: importOrUse -->
<!-- import: test -->
    <!-- block: content -->imported<!-- /block -->
<!-- /import -->
<!-- use: test -->
    <!-- block: content -->used<!-- /block -->
<!-- /use -->

<!-- target: test -->
[<!-- block: content --><!-- /block -->]

编译结果:

[imported]

[]
    used

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions