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

engine cat honors options echo and eval #1618

Merged
merged 4 commits into from
Mar 7, 2019
Merged

engine cat honors options echo and eval #1618

merged 4 commits into from
Mar 7, 2019

Conversation

HanOostdijk
Copy link
Contributor

I think it would be nice if the cat engine would honor the general chunk options echo and eval . The use of lang is not clear to me, but a chunk will now be echo-ed when lang is present or echo == TRUE

Copy link
Owner

@yihui yihui left a comment

Choose a reason for hiding this comment

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

Thanks! echo = TRUE/FALSE is supported but it requires a language name to show the output, e.g.,

```{cat, class.source='js'}
var x = 1;
```

```{cat, class.source='js', echo=FALSE}
var x = 1;
```

@yihui yihui added this to the v1.22 milestone Mar 7, 2019
Repository owner deleted a comment from codecov-io Mar 7, 2019
@yihui yihui merged commit f1771e4 into yihui:master Mar 7, 2019
Repository owner deleted a comment from codecov-io Mar 7, 2019
yihui added a commit that referenced this pull request Mar 7, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants