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

Parsing error in image html tag #34

Closed
yuehhua opened this issue Jun 21, 2020 · 2 comments
Closed

Parsing error in image html tag #34

yuehhua opened this issue Jun 21, 2020 · 2 comments

Comments

@yuehhua
Copy link

yuehhua commented Jun 21, 2020

I try to insert an image in my slides. I tried using html tag as follow:

<img src="../../sphx_glr_plot_compare_methods_0011.png">

But I found it parse the file name in html into: sphx*glr*plot*compare*methods_0011.png

This cause the image display fail on slide show.

@piever
Copy link
Owner

piever commented Jun 24, 2020

Are you using the default value of keyword arguments in slideshow, i.e. documenter=true? Could you try passing documenter=false, to see if it is a problem of Documenter not supporting raw HTML?

For now, you could use markdown image syntax, i.e.

![alternative text](../../sphx_glr_plot_compare_methods_0011.png)

@yuehhua
Copy link
Author

yuehhua commented Jun 26, 2020

documenter=false works! Thank you.
Why I use HTML tag here? I want to adjust the width and height but markdown doesn't provide features like that.

@yuehhua yuehhua closed this as completed Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants