You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour of an inline link to an external resource (access through file://///) does not work as expected for an .md input to MyST when generating in HTML through Sphinx. (e.g. for referencing files on network shares)
Results in the expected link and works as expected in our tested browsers.
I guess that file:///// links are disabled/ignored by MyST per default as the protocol is disabled by most modern web browsers. In companies this legacy feature often times still used and enabled for the used browser. Is it possible to enable MyST to generate the expected link for this input?
Steps to reproduce
Using Sphinx and MyST.
Create an .md containing: [Click me](file://///foo.com/dataXYZ/documentation.pdf)
Add the .md to your index.rst
Call ./make html to start the HTML generation of Sphinx
Open generated .html. The file will contain the link unprocessed, looking like this:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Describe the problem
The behaviour of an inline link to an external resource (access through file://///) does not work as expected for an .md input to MyST when generating in HTML through Sphinx. (e.g. for referencing files on network shares)
Given an inline link like:
Results in the inline link being output unprocessed:
Creating the link manually in the built html using:
Results in the expected link and works as expected in our tested browsers.
I guess that file:///// links are disabled/ignored by MyST per default as the protocol is disabled by most modern web browsers. In companies this legacy feature often times still used and enabled for the used browser. Is it possible to enable MyST to generate the expected link for this input?
Steps to reproduce
Using Sphinx and MyST.
[Click me](file://///foo.com/dataXYZ/documentation.pdf)
The version of Python you're using
3.9.7
Your operating system
Windows 10
Versions of your packages
Sphinx==4.0.2
myst-parser==0.15.1
sphinx-rtd-theme==0.5.2
The text was updated successfully, but these errors were encountered: