Skip to content

Hide preview env values to prevent accidental deletion#1117

Merged
renkun-ken merged 1 commit intoREditorSupport:masterfrom
renkun-ken:preview-env
Jun 2, 2022
Merged

Hide preview env values to prevent accidental deletion#1117
renkun-ken merged 1 commit intoREditorSupport:masterfrom
renkun-ken:preview-env

Conversation

@renkun-ken
Copy link
Copy Markdown
Member

What problem did you solve?

Follows #1060 to address the same problem (#860) with previewing rmd.

(If you do not have screenshot) How can I check this pull request?

---
title: new document
author: test
---

This is a test document.

```{r}
rm(list = ls(all.names = TRUE))
x <- 1
y <- 2
```

Following is a test plot:

```{r}
plot(rnorm(100))
```
```

@renkun-ken renkun-ken requested a review from ElianHugh June 1, 2022 03:17
Copy link
Copy Markdown
Collaborator

@ElianHugh ElianHugh left a comment

Choose a reason for hiding this comment

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

Works nicely, thanks! LGTM

@renkun-ken renkun-ken merged commit 3ed8483 into REditorSupport:master Jun 2, 2022
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