cherry-markdown
cherry-markdown copied to clipboard
[Bug Report]继续磕一下链接解析的问题
Prerequisites
- [X] There isn't an existing issue that reports the same bug to avoid duplicates.
- [X] The provided information offers a minimal reproducible example of the bug.
- [ ] For Q&A, please open a GitHub Discussion instead.
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
太强了,欢迎继续磕哈,我们先把这个case给改了