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

Render embed_display directly if it will show as HTML #1776

Merged
merged 2 commits into from
Dec 21, 2021

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Dec 21, 2021

This is a performance optimization for #1126 : if the object being embedded will display as HTML, then skip the embedding and display the object directly.

This will help performance and reduce flicker, but the DOM structure will be different because the <pluto-display> element is skipped. I am assuming that this is not a problem :)

@fonsp fonsp added the display & PlutoRunner & AbstractPlutoDingetjes.jl label Dec 21, 2021
@fonsp fonsp merged commit d8f0378 into main Dec 21, 2021
@fonsp fonsp deleted the shortcut-embed_display-html branch December 21, 2021 20:21
Repository owner deleted a comment from github-actions bot Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display & PlutoRunner & AbstractPlutoDingetjes.jl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant