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

Use interactive html widgets #14

Open
h-a-graham opened this issue Jan 12, 2023 · 2 comments
Open

Use interactive html widgets #14

h-a-graham opened this issue Jan 12, 2023 · 2 comments

Comments

@h-a-graham
Copy link

h-a-graham commented Jan 12, 2023

Hey, Firstly, thanks for this package - it's really excellent and is the targets framework that I never knew I needed!

Right now the only thing I'm struggling with is how to render interactive html widgets such as leafelt maps. At the moment, the render defaults to using {webshot} to generate a static image of the widget. Is there any way to change this default? Does the intermediate rendering to .md make this a bit tricky?

If a reprex would help I can generate this - but just asking first in case there is an obvious solution.

Many thanks!

@h-a-graham h-a-graham changed the title Use ineractive html widgets Use interactive html widgets Jan 12, 2023
@tjmahr
Copy link
Owner

tjmahr commented Jan 24, 2023

Oops, I missed this issue. I never use interactive html widgets. I wonder how everything else that runs markdown through pandoc handles them.

@h-a-graham
Copy link
Author

No worries at all! To be honest I don't use them all that much - recently have had to export large tables which benefit from a scroll bar - the leaflet maps is a bonus but not essential.

I'd be happy to have a play with this at some point when I find time - honestly not very clued up on pandoc tbh, but would be a good chance to learn. Appreciate that this is probably not a priority on your side so feel free to close if you like.

Cheers!

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