Skip to content

ENH: Support Sphinx Aliases for Images #44

@mmcky

Description

@mmcky

Currently the following does not render well

Embedded Image Handling
-----------------------

.. |mountain| image:: _static/hood.jpg
   :scale: 10 %

Here is an image that is inline and referenced using sphinx alias |mountain|.

as it get's rendered in the notebook as

image

  • need to figure out how to determine if a directive is in the context of an alias and pass the object in the jupyter writer
  • update tests/image.rst with the test case

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions