Skip to content
Discussion options

You must be logged in to vote

Chinese

@zhumeishuai
我认为 @kamilkrzyskow 说的没错,在Web站点中应该使用/而不是\

为此我刚刚测试成功了,请看我以下日志

我的目录层级

├─test1
│  ├─test1-1
│  │      test1-1-1.md
│  │      test1-1-2.md
│  │      
│  └─test1-2
│          test1-2.md
│
└─test2
        test2.md

我的test1-1-1.md

# 测试 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

总的来说就是,如果被插入的文件和主文件在同一个目录下,不需要任何/(例如test1-1-1.md),被插入的文件在主文件所在目录的同级目录下,需要带一层../(例如test1-2.md),被插入文件在主文件所在目录的所在目录的同级目录下,则需要加两层../(例如test2.md)

以上只是我的一些拙见,如有错误还望指正


English

I think @kamilkrzyskow is right, we should use / instead of \ in the website

I just tested it successfully, please see my log below

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zhumeishuai
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants