Embedded files doesn't resolve relative links
See original GitHub issueBug Report
Docsify doesn’t resolve relative links in embedded markdown files correctly. Whenever MD file contains any relative link instead of file content user just gets Not found 404
error.
Steps to reproduce
README.md
[Task](./task/README.md ':include')
task/README.md
# Crossword:
On the last page you found a weird crossword puzzle. Perhaps it reveals a flag for you.
[crosswords.png](./crosswords.png ':ignore')
task/crosswords.png
What is current behaviour
Link to crosswords.png
points to /crosswords.png
What is the expected behaviour
Link to crosswords.png
should point to /task/crosswords.png
Other relevant information
-
Bug does still occur when all/other plugins are disabled?
-
Your OS: Ubuntu 16.04
-
Node.js version: v10.15.3
-
npm/yarn version: 6.4.1
-
Browser version: 74.0.3729.169
-
Docsify version: 4.9.4
-
Docsify plugins: N/A
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Relative links and embedding - Microsoft Community
I created a document with a number of dynamically linked images. Although they are supposed to be relative, in the “Edit Links to...
Read more >HTML embed uses wrong relative path - Stack Overflow
1 Answer 1 ... The point goes to Quentin. I tried the minimum example again and it works. The relative paths are resolved...
Read more >Relative file links not saving in pdf? - nisus.com
Save a PDF of the nisus file. The links work in the PDF. Rename the enclosing folder. The links work in Nisus... but...
Read more >[Solved] Word Fields and Relative Paths to External Files
The above solution works with DATABASE, INCLUDEPICTURE, INCLUDETEXT, RD and HYPERLINK fields, but not with LINK fields - for which, see below. It...
Read more >Embedded links are not working - RSJoomla!
The most common reason for which this is happening, is that the links are converted from absolute paths, into relative paths, by the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s the plan 😉
create a separate issue if it still exists with sandbox example.
Thanks