MyST-Parser icon indicating copy to clipboard operation
MyST-Parser copied to clipboard

{eval-rst} doesn't seem to accept image substitution when later used in {eval-rst} .. csv-table :: directive

Open MacqGit opened this issue 4 years ago • 1 comments

Describe the bug

context I define an image substitution in the form of:

.. |test| image :: ../path/to/image.png 

to later be used in:


... csv-table ::

   blabla, |test|
   other blabla, ...

expectation I expected image to display.

bug But instead I get an error message saying "ERROR: Undefined substitution referenced"

Note Everything runs fine if I transform the full .md file in .rst (and adapt the content accordingly)

Reproduce the bug

Reproduce by cutting/pasting MD example above.

List your environment

Running Sphinx v4.5.0 myst v0.18.0 HTML pages are in _build/html.

MacqGit avatar Oct 12 '22 10:10 MacqGit

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
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).
Welcome to the EBP community! :tada:

welcome[bot] avatar Oct 12 '22 10:10 welcome[bot]