Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded images not parsed correctly #655

Open
janfari opened this issue Jan 30, 2025 · 0 comments
Open

Embedded images not parsed correctly #655

janfari opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@janfari
Copy link

janfari commented Jan 30, 2025

Describe the bug

Jupyter notebooks offer support for directly embedding images without creating a separate file. As I understand it, the image is embedded directly into the raw code for the notebook. It ends up showing up like this in the markdown:

### **Sense Lines**
![image.png](attachment:image.png)

### **Our Amplifier**
![image.png](attachment:6cb9da51-8140-4357-914d-17921dfbeaf5.png)

### **Standard Differential Amp:**
![opamp18.gif](attachment:0957d379-efea-4a72-ba57-bb7c0ec91f33.gif)

I expect these images to be parsed like images that are included as seperate files but MyST doesn't seem to recognize or parse them as images. The sphinx output shows just the text "image.png" instead of the image.

Are there any setting needed to enable this or is this just unsupported at this time? Thank you!

Reproduce the bug

  1. Create a jupyter notebook
  2. Drag and drop in an image which should create an embedded attachment
  3. Try to parse the notebook with MyST-NB

List your environment

Python 3.10.12
Sphinx 8.1.3
sphinx-adc-theme 0.1.7
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
myst-nb 1.1.2
myst-parser 4.0.0

@janfari janfari added the bug Something isn't working label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant