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

Check for Quarto environment before using workaround #521

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

rich-iannone
Copy link
Member

This slightly amends the work done in #520 that protects against Quarto rendering. All that is added is a check for whether the rendering is occurring in a Quarto environment (through an environment variable check). If this check succeeds, then the gt workaround is applied.

Did this mainly because the rendering for the informant report automatically treats the table cells as having Markdown text and, until the larger problem is fixed, this at least restores the Markdown conversion outside of the Quarto context.

Copy link
Collaborator

@yjunechoe yjunechoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes - this is a much better targeted fix!

@rich-iannone rich-iannone merged commit e96334d into main Feb 28, 2024
14 checks passed
@rich-iannone rich-iannone deleted the check-for-quarto branch February 28, 2024 20:44
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.

2 participants