Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片使用引用风格时的解析问题 #684

Closed
ihewro opened this issue Aug 5, 2020 · 1 comment
Closed

图片使用引用风格时的解析问题 #684

ihewro opened this issue Aug 5, 2020 · 1 comment
Assignees
Milestone

Comments

@ihewro
Copy link

ihewro commented Aug 5, 2020

请先看《提问的智慧》,并尝试到黑客派搜寻资料解决问题。


编辑模式

请选择你遇到问题时使用的编辑模式(把正常情况模式删掉):

  • wysiwyg 所见即所得模式
  • ir 即时渲染模式
  • sv 分屏编辑预览模式

描述问题

首页在分屏编辑模式下 复制粘贴下面的代码:

![90331d51a2d6ea49b9e9f777db757eb1.png][1]

[1]: https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png

编辑器里面显示的内容是:

![90331d51a2d6ea49b9e9f777db757eb1.png][1](https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png)

[1]: https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png

编辑器没有把[1]去掉,这个时候切换到所见即所得模式,再切换到分屏预览模式,编辑器显示的是:

![90331d51a2d6ea49b9e9f777db757eb1.png](https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png)(https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png)

[1]: https://b3logfile.com/file/2020/08/df3010e2c713428eb0e6edb9458bc826.png

就会多一个图片的链接文本

期待的结果

对参考式的语法进行正确解析,如果可以不改变参考式的原本源码就好了


还有一个定义部分的冒号问题: #696

@88250 88250 self-assigned this Aug 5, 2020
@88250 88250 changed the title 图片的参考式的markdown语法解析问题 图片使用引用风格时的解析问题 Aug 7, 2020
@Vanessa219 Vanessa219 added this to the 3.4 milestone Aug 7, 2020
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
88250 added a commit to 88250/lute that referenced this issue Aug 7, 2020
图片使用引用风格时的解析问题
Vanessa219/vditor#684
@88250
Copy link
Collaborator

88250 commented Aug 7, 2020

图片使用链接引用风格的两个问题应该已经修复,稍后待版本发布后请更新帮忙测试,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants