Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Markdown: Links to markdown files in nested directories

I created a Bitbucket wiki.

And I find an issue: how to make links to pages in nested folders?

I have a structure:

  • one.md
  • two.md
  • dir1/
    • three.md
  • dir2/
    • four.md

If I want to add on home wiki pages one or two, I will use

[[one]]  
[[two]]

But if I write something similar for other pages...

[[dir1/three]]  
[[dir2/four]]

nothing seems to be ok.

What is the correct symbol that separate folders in path to file?

What is the correct way for nested directories in markdown wiki?

like image 704
gaussblurinc Avatar asked Jan 15 '14 09:01

gaussblurinc


1 Answers

Bitbucket doesn't recognize links of this type using the [[ ... ]] syntax. However, the full link syntax [link text](path/to/target) seems to work fine:

[three](dir1/three)
[four](dir2/four)
like image 176
Chris Avatar answered Sep 28 '22 09:09

Chris