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

Shinylive in posts #7

Closed
xl0418 opened this issue Feb 2, 2024 · 2 comments
Closed

Shinylive in posts #7

xl0418 opened this issue Feb 2, 2024 · 2 comments

Comments

@xl0418
Copy link

xl0418 commented Feb 2, 2024

Hi, thanks for the great demo! I managed to reproduce it following your demo.

I wonder if I can have this feature for every posts in a Blog? Do I need to install the extensions for every posts? Thanks!

@coatless
Copy link
Contributor

coatless commented Feb 2, 2024

Yup, just add the extension in the main quarto project directory (e.g. next to _quarto.yml). Then, within the _quarto.yml, add the following:

# Enable the shinylive filter globally
filters:
  - shinylive

This will cause shinylive to be applied to each post.

@xl0418
Copy link
Author

xl0418 commented Feb 2, 2024

Thanks! Got it!

@xl0418 xl0418 closed this as completed Feb 2, 2024
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