Skip to content

流式渲染场景,优化代码块自动闭合的时机 #1549

@sunsonliu

Description

@sunsonliu

Clear and concise description of the problem or idea.

目前代码块是在出现连续`的时候就自动闭合,从而生成一个空的代码块

希望改成:1、出现连续`并且没有换行的时候不渲染任何内容,2、出现 ``` xxxx\n 的时候再自动闭合
优化闭合时机后,渲染mermaid图的时候就不会先出现代码块再出现mermaid图

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending-no-confirmedThe direction of this issue has not yet been determined.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions