Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why the final link (shown in the address bar) from relative path includes the symbol #/? #2406

Unanswered
xhao79 asked this question in Q&A
Discussion options

How to not include the symbol #/ in final link shown in the address bar?

I have set

  1. in 'index.html':
    relativePath: true,
  2. in 'README.md':
    [test](./test.docx)

If click on the link 'test', the link shown in the address bar is
http://localhost:3000/#/test.docx
and the page shows '404 - Not found'

If remove the symbol #/ to following link
http://localhost:3000/test.docx
then, it's able to download the 'test.docx'

I want to download the 'test.docx' with out removing the symbol #/ manually.
How to do it ?

You must be logged in to vote

Replies: 1 comment

Comment options

Hi @xhao79 , just seeing this now. Perhaps this issue might provide some pointers? #1479

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

AltStyle によって変換されたページ (->オリジナル) /