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

相对路径有点问题 #5

Closed
jerviscui opened this issue Oct 29, 2023 · 3 comments
Closed

相对路径有点问题 #5

jerviscui opened this issue Oct 29, 2023 · 3 comments

Comments

@jerviscui
Copy link

jerviscui commented Oct 29, 2023

引用页内内容时生成路径过于复杂 🤣

下面的相对地址就是 ./
[页内链接](../../..//我的笔记/Tools/Markdown%20语法演示.md#页内链接)

@jerviscui
Copy link
Author

jerviscui commented Oct 29, 2023

还有一种情况,类似下面的结构[跳转到锚点](#aaaa)

image

格式化后会变成:

../../..//我的笔记/Tools/Markdown%20语法演示.md[跳转到锚点](#aaaa)

可以考虑跳过不进行处理。

And 上面这里是个死循环,再次执行格式化还会在前面继续添加 ../../..//我的笔...

@val3344 val3344 closed this as completed in 525d09f Nov 4, 2023
@val3344
Copy link
Owner

val3344 commented Nov 4, 2023

已经在 2.1.1 版本中解决,更一下试试。

@jerviscui
Copy link
Author

这个用例没有问题了! 👍

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

No branches or pull requests

2 participants