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

fix: quarto dashboard examples #166

Merged
merged 3 commits into from
Jul 15, 2024
Merged

fix: quarto dashboard examples #166

merged 3 commits into from
Jul 15, 2024

Conversation

toph-allen
Copy link
Collaborator

@toph-allen toph-allen commented Jul 12, 2024

Dashboards are fixed.

Screen Shot 2024-07-12 at 04 59 50 PM@2x
Screen Shot 2024-07-12 at 04 59 46 PM@2x
Screen Shot 2024-07-12 at 04 59 41 PM@2x
Screen Shot 2024-07-12 at 04 59 38 PM@2x

@toph-allen toph-allen changed the title fix: quarto dashboard examples fix: quarto dashboard examples [WORK IN PROGRESS] Jul 12, 2024
@toph-allen toph-allen changed the title fix: quarto dashboard examples [WORK IN PROGRESS] fix: quarto dashboard examples Jul 12, 2024
@toph-allen toph-allen marked this pull request as ready for review July 12, 2024 21:05
@toph-allen
Copy link
Collaborator Author

Hmm, need to fix something else.

@toph-allen
Copy link
Collaborator Author

This was extremely not obvious. The way to get everything to work correctly was to double-wrap the embedded inner chunks with {}.

I only figured this out following this example: https://github.com/quarto-dev/quarto-web/blob/00ca1f5ca91164986c2aa19238e57e7f24ca7840/docs/computations/execution-options.qmd#L51-L70

@tdstein
Copy link
Collaborator

tdstein commented Jul 15, 2024

This was extremely not obvious. The way to get everything to work correctly was to double-wrap the embedded inner chunks with {}.

I only figured this out following this example: https://github.com/quarto-dev/quarto-web/blob/00ca1f5ca91164986c2aa19238e57e7f24ca7840/docs/computations/execution-options.qmd#L51-L70

Ah, that drives escaping. https://quarto.org/docs/computations/inline-code.html#escaping

I wonder why Quarto doesn't use backlashes to escape like other languages.

@toph-allen toph-allen merged commit 9ef6421 into main Jul 15, 2024
1 check passed
@toph-allen toph-allen deleted the toph/fix-dashboards branch July 15, 2024 13:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants