有没有可能在指向reStructuredText文件中的锚点时插入指向Markdown文件的链接?
我有一个包含.rst和.md文件的项目文档,我正在使用m2rr Sphinx扩展,但它似乎只支持文件内rst锚点链接。
有什么办法可以实现这个吗?
有没有可能在指向reStructuredText文件中的锚点时插入指向Markdown文件的链接?
我有一个包含.rst和.md文件的项目文档,我正在使用m2rr Sphinx扩展,但它似乎只支持文件内rst锚点链接。
有什么办法可以实现这个吗?
[My Label](/root-relative-url.html#anchor-in-page)
Target headers are defined with this syntax:
(header_target)=
They can then be referred to with the ref inline role:
{ref}`header_target`
By default, the reference will use the text of the target (such as the section title), but also you can directly specify the text:
{ref}`my text <header_target>`