Skip to content

[Bug] 似乎不能正常处理**加粗语法的配对 #4307

Closed

Description

@zh-y-h

Description

似乎不能正确处理文字加粗语法**的配对,一对**的内部有某些符号(如' " ( [ 等符号)时,写成 **“加粗” **时就不能正常渲染,但是写成**加粗**时正常。(Github论坛的处理也与下图相同)

比如写成如: 例子例子**“加粗”**例子例子,例子例子例子例子例子例子例子**加粗**例子例子。渲染的结果不是想要的,

如果删除第一个“加粗”左右两侧的引号,则能正确渲染。

Steps to Reproduce

如上

Expected Behavior

Image

Actual Behavior

Image

Screenshots / Logs

No response

Operating System

Windows

MarkText Version

0.19.0

OS Version

windows 11

Reproducibility

  • I can reliably reproduce this issue

Activity

  1. added
    🐛 bug
    🐹 platform/windows
    🐸 markdown/spec
    on Jun 2, 2026
  2. added a commit that references this issue on Jun 3, 2026
    7ca908b
  3. added a commit that references this issue on Jun 21, 2026
    0179cdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐸 markdown/spec🐹 platform/windows🐛 bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions