-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Pages do not support Markdown "file path" links #9864
Copy link
Copy link
Closed
Labels
apprenticeIssues that are good candidates to be handled by a Docusaurus apprentice / traineeIssues that are good candidates to be handled by a Docusaurus apprentice / traineedomain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumptiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntaxfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.status: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Metadata
Metadata
Assignees
Labels
apprenticeIssues that are good candidates to be handled by a Docusaurus apprentice / traineeIssues that are good candidates to be handled by a Docusaurus apprentice / traineedomain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumptiondomain: markdownRelated to Markdown parsing or syntaxRelated to Markdown parsing or syntaxfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.status: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Type
Fields
Give feedbackNo fields configured for issues without a type.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
The "file path" type of link does not seem to function for Pages.
Reproducible demo
https://github.com/ISSOtm/rgbds-www/blob/bf8d9167382a92f3e3db9a9c770f4ea8c78429d4/src/pages/install/linux.md?plain=1#L4
Steps to reproduce
/installtoindex.mdor./index.md.Expected behavior
The documentation only mentions that inter-plugin links don't work, but both of those pages are processed by the "pages" plugin; so I'd expect "file path" links to be converted appropriately.
I want to use "file path" links instead of relative URLs, so that I can benefit from all of the upsides listed at the bottom of the page ;P
Actual behavior
The generated link is
localhost:3000/install/index.md, notlocalhost:3000/install(or equivalent).Your environment
Self-service