Why are some links to relative Markdown files not working? #7249
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hello @zhumeishuai, As for what I gathered from basic translations tools, I see you're asking about why the Personally I also wouldn't use Windows paths with |
Beta Was this translation helpful? Give feedback.
-
Chinese@zhumeishuai 为此我刚刚测试成功了,请看我以下日志 我的目录层级
我的 # 测试 1-1-1
[test1-1-2.md](test1-1-2.md)
[test1-2.md](../test1-2/test1-2.md)
[test2.md](../../test2/test2.md) 其他Markdown文件内容: # 对应标题
test successful 总的来说就是,如果被插入的文件和主文件在同一个目录下,不需要任何 以上只是我的一些拙见,如有错误还望指正 EnglishI think @kamilkrzyskow is right, we should use I just tested it successfully, please see my log below My directory hierarchy
My # Test 1-1-1
[test1-1-2.md](test1-1-2.md)
[test1-2.md](../test1-2/test1-2.md)
[test2.md](../../test2/test2.md) Other Markdown file contents: # Corresponding title
test successful In general, if the inserted file is in the same directory as the main file, no The above are just some of my humble opinions. If there are any mistakes, please correct me. |
Beta Was this translation helpful? Give feedback.
-
Please note that it's mandatory to use English on our discussion board. We're responsible for ensuring that users comply with our code of conduct and community standards, and we can't guarantee that in languages other than English. Thank you. I'm closing and locking this discussion for the reasons stated. |
Beta Was this translation helpful? Give feedback.
Chinese
@zhumeishuai
我认为 @kamilkrzyskow 说的没错,在Web站点中应该使用
/
而不是\
为此我刚刚测试成功了,请看我以下日志
我的目录层级
我的
test1-1-1.md
其他Markdown文件内容:
# 对应标题 test successful
总的来说就是,如果被插入的文件和主文件在同一个目录下,不需要任何
/
(例如test1-1-1.md),被插入的文件在主文件所在目录的同级目录下,需要带一层../
(例如test1-2.md),被插入文件在主文件所在目录的所在目录的同级目录下,则需要加两层../
(例如test2.md)以上只是我的一些拙见,如有错误还望指正
English
I think @kamilkrzyskow is right, we should use
/
instead of\
in the websiteI just tested it successfully, please see my log below