Link static text file

I am trying to link a static text file on hugo.

Either in the static folder or in the same folder as the markdown.

I can’t get either way to work. Just link to displaying static text in the web browser.

I tried:

./static/file.txt
/static/file.txt
static/file.txt
file.txt
posts/folder-of-markdown/file.txt

If you reall just tried these tests in the markdown file it won’t work.

Thats not markdown syntax…

[Test file](/file.txt)

should work for the file being in /static/file.txt.

If not: Requesting Help