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
My use case is a GFM-formatted README.md that I want to display on PyPI correctly. PyPI refuses to render it because I have project-relative links, e.g.
[point.py](examples/point.py)
According to various StackOverflow threads and my own experiments, this is not allowed.
I wonder whether it would be within the scope of this project to strip these links, perhaps replacing them with the plain url or a constant placeholder. Apparently this is possible in pandoc by transforming the parsed AST, and the step can be done in Python code using pandocfilters.
Counterpoints against implementing this feature include:
(I presume) there are other GFM constructs that can't be easily represented in rst. In other words, we still can't save everyone.
PyPI may at some point become less anal about its input documents, making the effort obsolete.
The text was updated successfully, but these errors were encountered:
My use case is a GFM-formatted README.md that I want to display on PyPI correctly. PyPI refuses to render it because I have project-relative links, e.g.
According to various StackOverflow threads and my own experiments, this is not allowed.
I wonder whether it would be within the scope of this project to strip these links, perhaps replacing them with the plain url or a constant placeholder. Apparently this is possible in pandoc by transforming the parsed AST, and the step can be done in Python code using pandocfilters.
Counterpoints against implementing this feature include:
The text was updated successfully, but these errors were encountered: