cherry-markdown icon indicating copy to clipboard operation
cherry-markdown copied to clipboard

[Bug Report]继续磕一下链接解析的问题

Open recrute opened this issue 1 year ago • 1 comments

Prerequisites

Describe the Bug

[[20240803][子标题]例子段落(2)](例子.md#[20240803][子标题]例子段落(2))

上面这个链接解析在 cherry-markdown 最新版本也是异常的,感觉前面的正则没有抓住关键字符串,个人认为链接的 3 个关键字符串应该是:

第一个是字符串的开头的 [

第二个是 ](

第三个是字符串结尾的 )

其他都是这 3 个关键字符串中间的文本内容。

GitHub 的解析效果如下:

[20240803][子标题]例子段落(2)

Reproduction Steps

No response

System Information

No response

Contributing

None

recrute avatar Sep 29 '24 06:09 recrute

太强了,欢迎继续磕哈,我们先把这个case给改了

sunsonliu avatar Oct 11 '24 07:10 sunsonliu