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

Add Html Represenation to Boards #1096

Closed
gawebb-dstl opened this issue Jul 9, 2024 · 2 comments
Closed

Add Html Represenation to Boards #1096

gawebb-dstl opened this issue Jul 9, 2024 · 2 comments

Comments

@gawebb-dstl
Copy link

Add _repr_html_ function to SvgWrapper. This allows chess boards to viewed in sphinx galleries.

def _repr_html_(self):
    return self`
@niklasf
Copy link
Owner

niklasf commented Jul 19, 2024

Sure, done. If this can be done in general, perhaps it's a good idea for Sphinx Galleries to also just support _repr_svg_?

@gawebb-dstl
Copy link
Author

Thanks, I agree. I think there is a PR in Sphinx Galleries for that change but it has stalled.

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