m2r2
m2r2 copied to clipboard
Can we include a link in the mdinclude directive
In place of the relative file path to the md in the .. mdinclude:: file
directive, is there a way we can provide a link to the md and render the md in the rst.
@SavvyOsive can you elaborate with an example?
m2r2 converter only renders the md which is provided to it as a file in the mdinclude directive like this
.. mdinclude:: ./md/Readme.md
but we can't provide a remote link of the md like
.. mdinclude:: https://github.com/apache/kafka/blob/trunk/PULL_REQUEST_TEMPLATE.md
It doesn't render the md provided to it as a remote link and gives the following error because it's looking for a file or directory in the local only
Is there a way we can render md inside rst by providing a link of the md rather than downloading it on the local and providing a relative path?
@CrossNox