Skip to content

results="asis" not working in solution=TRUE #8

Open
@sarahef2

Description

@sarahef2

{r, solution = TRUE, echo=FALSE, results="asis"} is currently rendering as an "asis" code block in the solution markdown without running the R code at all.

Here is Demo-main.Rmd:

This is the assignment.

```{r, solution = TRUE, echo=FALSE, results="asis"}
cat("# This is markdown text.")
```

I've attached the results when you knit this document without assignr. The markdown appears perfectly.
Demo-main.pdf
Here's the results when you use assignr. The code is pasted as is, without running.
Demo-soln.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions