Closed lucyleeow closed 8 months ago
closes #85
Adds reference label for .rst. AFAICT for md, you can just use the header to cross reference, so no special label needed.
I do not know how best to test this. Could I add a cross link to test/sources/test-rst/index.rst and then amend the test only for testroot="rst" ?
test/sources/test-rst/index.rst
testroot="rst"
It would be nice to have a consistent ref label for both rST and MyST, since some projects (including some of mine) use a mix of both formats. I can add that plus tests in a separate PR.
closes #85
Adds reference label for .rst. AFAICT for md, you can just use the header to cross reference, so no special label needed.
I do not know how best to test this. Could I add a cross link to
test/sources/test-rst/index.rst
and then amend the test only fortestroot="rst"
?