Bug Report
As far as I know, there are no same issues on here, no same questions on StackOverflow.
Sorry if already exist same one.
Steps to reproduce
File tree will be like this:
docs/
|- index.html
|- page/
|- any_doc.md
|- any_file.pdf
Add a docsify config to index.html:
Write any_doc.md:
[ Click to view PDF] ( ./any_file.pdf ' :ignore ')
Execute docsify:
Make any PDF file as docs/page/any_file.pdf
Access to http://localhost:3000/#/page/any_doc
What is current behaviour
The link follows http://localhost:3000/#/page/./any_file.pdf
It looks ':ignore' (no compile option) and relative path resolving are not works.
What is the expected behaviour
The link follows http://localhost:3000/page/any_file.pdf
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: Linux Mint 20.3 Uma
Node.js version: 16.16.0
npm/yarn version: 9.1.2
Browser version: Brave 1.45.127 Chromium: 107.0.5304.110(Official Build)
Docsify version: 4.13.0
Docsify plugins: none (running in default)
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
Supplement
I tried specifying absolute path like this:
[Click to view PDF](/page/any_file.pdf ':ignore')
It works on local environment. But on GitHub pages, not works.
On local environment:
follows: http://localhost:3000/page/any_file.pdf
On GitHub pages (github.io):
follows: https://{user_name}.github.io/page/any_file.pdf
should be: https://{user_name}.github.io/{repo_name}/page/any_file.pdf
Bug Report
As far as I know, there are no same issues on here, no same questions on StackOverflow.
Sorry if already exist same one.
Steps to reproduce
index.html:any_doc.md:Make any PDF file as
docs/page/any_file.pdfAccess to
http://localhost:3000/#/page/any_docWhat is current behaviour
The link follows
http://localhost:3000/#/page/./any_file.pdfIt looks
':ignore'(no compile option) and relative path resolving are not works.What is the expected behaviour
The link follows
http://localhost:3000/page/any_file.pdfOther relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: Linux Mint 20.3 Uma
Node.js version: 16.16.0
npm/yarn version: 9.1.2
Browser version: Brave 1.45.127 Chromium: 107.0.5304.110(Official Build)
Docsify version: 4.13.0
Docsify plugins: none (running in default)
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
Supplement
I tried specifying absolute path like this:
It works on local environment. But on GitHub pages, not works.
On local environment:
follows:
http://localhost:3000/page/any_file.pdfOn GitHub pages (github.io):
follows:
https://{user_name}.github.io/page/any_file.pdfshould be:
https://{user_name}.github.io/{repo_name}/page/any_file.pdf