Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Readme file or any other with markdown syntax: link to other file's header

alexanderz June 18, 2020

I was working on APIs documentation and tried to keep everything consistent and avoid duplications. So, of course, I have describe some kind of response structures that I would like to refer if I need. But anchor does not work, as page with *.md file has post processing (assume conversion from md to html code).

Example:

Structure

```
dir/
 |
 -- file_1.md
 |

 -- file_2.md
```

File `file_1.md` has header H2 level `Some title`.
File `fiel_2.md` has link: `[SomeLink](./file_1.md#markdown-header-some-title)`

It does not lead user to pointed header neither in same tab nor in separate tab of browser! (Chrome Version 83.0.4103.97 (Official Build) (64-bit) MacOS)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events