Can't view embedded html PDF files in vscode jupyter? #13769
Unanswered
MikeLemo1
asked this question in
Questions and Answers
Replies: 1 comment 2 replies
-
Thanks for filing this issue and sorry you are running into this. Please can you open the console window using the command |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to reference an internal PDF file to view a single page from it with embedded HTML in VSCode Jupyter plugin with no luck as it just displays nothing or blank rectangles with no luck(just for reference the same method works in mkdocs)
Here is what I tried to do it with assuming the PDF file is sitting in the same folder as the .ipynb file:
`from IPython.display import IFrame
display(HTML(''))
IFrame( src = 'STM32F302xD_E_MCU.pdf#page=34&zoom=150&toolbar=1&statusbar=1', width=700, height=600)`
Also tried:
%%HTML <embed id="myPDF2" src = "STM32F302xD_E_MCU.pdf#page=34&zoom=150&toolbar=1&statusbar=1&viewrect=100%,100%,50%,50%" type="application/pdf" width="100%" height=800px />
Any idea what can be done to help it work?
Beta Was this translation helpful? Give feedback.
All reactions