Skip to content

WIP: Re-use images with mystmd embedding feature#299

Draft
rossbar wants to merge 3 commits into
numpy:mainfrom
rossbar:embed-images
Draft

WIP: Re-use images with mystmd embedding feature#299
rossbar wants to merge 3 commits into
numpy:mainfrom
rossbar:embed-images

Conversation

@rossbar

@rossbar rossbar commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator

There are at least two instances where an image produced by a notebook is explicitly saved as a static image in the source tree. mystmd has an embedding feature that allows the re-use of content generated during notebook execution (including images) in the rendered pages. This PR is an attempt at integrating the embedding feature.

Marking as draft/WIP for now because it's not working quite as expected (see linked issue).

Comment thread content/mooreslaw-tutorial.md Outdated

```{code-cell}
:label: img:mooreslaw-mainfig
:caption: A scatter plot of MOS transistor count per microprocessor every two years with a red line for the ordinary least squares prediction and an orange line for Moore's law.

@rowanc1 rowanc1 Dec 9, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(on my phone, and can not test)

A next thing that I would try is removing the caption here. It might interfere with the remove input. If that is the case, that should be reported as a bug!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants