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

embed object viewer inside markdown #124

Closed
drdozer opened this issue Aug 3, 2021 · 2 comments
Closed

embed object viewer inside markdown #124

drdozer opened this issue Aug 3, 2021 · 2 comments

Comments

@drdozer
Copy link

drdozer commented Aug 3, 2021

If a cell in pluto returns a value, it gets rendered in an interactive object viewer. If I use $(x) inside a md value, it uses normal string interpolation to inject it into the markdown. However, what I would like is some PlutoUI-style function that lets me embed the object viewer widget directly into the markdown at that location with that value.

@fonsp
Copy link
Member

fonsp commented Oct 11, 2021

Hi @drdozer !

We have a new feature for this: use $(embed_display(x)) instead of $(x). fonsp/Pluto.jl#1126

@fonsp fonsp closed this as completed Oct 11, 2021
@drdozer
Copy link
Author

drdozer commented Oct 15, 2021

Thanks!

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